Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Side by Side Diff: chrome/browser/services/gcm/chromeos_gcm_connection_observer.h

Issue 629603002: replace OVERRIDE and FINAL with override and final in chrome/browser/[r-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SERVICES_GCM_CHROMEOS_GCM_CONNECTION_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_SERVICES_GCM_CHROMEOS_GCM_CONNECTION_OBSERVER_H_
6 #define CHROME_BROWSER_SERVICES_GCM_CHROMEOS_GCM_CONNECTION_OBSERVER_H_ 6 #define CHROME_BROWSER_SERVICES_GCM_CHROMEOS_GCM_CONNECTION_OBSERVER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "components/gcm_driver/gcm_connection_observer.h" 9 #include "components/gcm_driver/gcm_connection_observer.h"
10 #include "net/base/ip_endpoint.h" 10 #include "net/base/ip_endpoint.h"
11 11
12 namespace gcm { 12 namespace gcm {
13 13
14 class ChromeOSGCMConnectionObserver : public GCMConnectionObserver { 14 class ChromeOSGCMConnectionObserver : public GCMConnectionObserver {
15 public: 15 public:
16 ChromeOSGCMConnectionObserver(); 16 ChromeOSGCMConnectionObserver();
17 virtual ~ChromeOSGCMConnectionObserver(); 17 virtual ~ChromeOSGCMConnectionObserver();
18 // gcm::GCMConnectionObserver implementation: 18 // gcm::GCMConnectionObserver implementation:
19 virtual void OnConnected(const net::IPEndPoint& ip_endpoint) OVERRIDE; 19 virtual void OnConnected(const net::IPEndPoint& ip_endpoint) override;
20 virtual void OnDisconnected() OVERRIDE; 20 virtual void OnDisconnected() override;
21 21
22 static void ErrorCallback( 22 static void ErrorCallback(
23 const std::string& error_name, 23 const std::string& error_name,
24 const std::string& error); 24 const std::string& error);
25 25
26 private: 26 private:
27 net::IPEndPoint ip_endpoint_; 27 net::IPEndPoint ip_endpoint_;
28 28
29 DISALLOW_COPY_AND_ASSIGN(ChromeOSGCMConnectionObserver); 29 DISALLOW_COPY_AND_ASSIGN(ChromeOSGCMConnectionObserver);
30 }; 30 };
31 31
32 } // namespace gcm 32 } // namespace gcm
33 33
34 #endif // CHROME_BROWSER_SERVICES_GCM_CHROMEOS_GCM_CONNECTION_OBSERVER_H_ 34 #endif // CHROME_BROWSER_SERVICES_GCM_CHROMEOS_GCM_CONNECTION_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698