summaryrefslogtreecommitdiffstats
path: root/chromium/google_apis/gcm/gcm_client.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/google_apis/gcm/gcm_client.cc')
-rw-r--r--chromium/google_apis/gcm/gcm_client.cc45
1 files changed, 0 insertions, 45 deletions
diff --git a/chromium/google_apis/gcm/gcm_client.cc b/chromium/google_apis/gcm/gcm_client.cc
deleted file mode 100644
index e437a305e47..00000000000
--- a/chromium/google_apis/gcm/gcm_client.cc
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "google_apis/gcm/gcm_client.h"
-
-#include "base/lazy_instance.h"
-#include "google_apis/gcm/gcm_client_impl.h"
-
-namespace gcm {
-
-namespace {
-
-static base::LazyInstance<GCMClientImpl>::Leaky g_gcm_client =
- LAZY_INSTANCE_INITIALIZER;
-static GCMClient* g_gcm_client_override = NULL;
-
-} // namespace
-
-GCMClient::OutgoingMessage::OutgoingMessage()
- : time_to_live(0) {
-}
-
-GCMClient::OutgoingMessage::~OutgoingMessage() {
-}
-
-GCMClient::IncomingMessage::IncomingMessage() {
-}
-
-GCMClient::IncomingMessage::~IncomingMessage() {
-}
-
-// static
-GCMClient* GCMClient::Get() {
- if (g_gcm_client_override)
- return g_gcm_client_override;
- return g_gcm_client.Pointer();
-}
-
-// static
-void GCMClient::SetForTesting(GCMClient* client) {
- g_gcm_client_override = client;
-}
-
-} // namespace gcm