diff options
Diffstat (limited to 'chrome/browser/services/gcm/chromeos_gcm_connection_observer.h')
-rw-r--r-- | chrome/browser/services/gcm/chromeos_gcm_connection_observer.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/chrome/browser/services/gcm/chromeos_gcm_connection_observer.h b/chrome/browser/services/gcm/chromeos_gcm_connection_observer.h deleted file mode 100644 index d444bb1..0000000 --- a/chrome/browser/services/gcm/chromeos_gcm_connection_observer.h +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (c) 2014 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. - -#ifndef CHROME_BROWSER_SERVICES_GCM_CHROMEOS_GCM_CONNECTION_OBSERVER_H_ -#define CHROME_BROWSER_SERVICES_GCM_CHROMEOS_GCM_CONNECTION_OBSERVER_H_ - -#include "base/compiler_specific.h" -#include "components/gcm_driver/gcm_connection_observer.h" -#include "net/base/ip_endpoint.h" - -namespace gcm { - -class ChromeOSGCMConnectionObserver : public GCMConnectionObserver { - public: - ChromeOSGCMConnectionObserver(); - virtual ~ChromeOSGCMConnectionObserver(); - // gcm::GCMConnectionObserver implementation: - virtual void OnConnected(const net::IPEndPoint& ip_endpoint) override; - virtual void OnDisconnected() override; - - static void ErrorCallback( - const std::string& error_name, - const std::string& error); - - private: - net::IPEndPoint ip_endpoint_; - - DISALLOW_COPY_AND_ASSIGN(ChromeOSGCMConnectionObserver); -}; - -} // namespace gcm - -#endif // CHROME_BROWSER_SERVICES_GCM_CHROMEOS_GCM_CONNECTION_OBSERVER_H_ |