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

Side by Side Diff: content/browser/net/browser_online_state_observer.h

Issue 8587009: Add OVERRIDE to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CONTENT_BROWSER_NET_BROWSER_ONLINE_STATE_OBSERVER_H_ 5 #ifndef CONTENT_BROWSER_NET_BROWSER_ONLINE_STATE_OBSERVER_H_
6 #define CONTENT_BROWSER_NET_BROWSER_ONLINE_STATE_OBSERVER_H_ 6 #define CONTENT_BROWSER_NET_BROWSER_ONLINE_STATE_OBSERVER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
11 #include "net/base/network_change_notifier.h" 11 #include "net/base/network_change_notifier.h"
12 12
13 // Listens for changes to the online state and manages sending 13 // Listens for changes to the online state and manages sending
14 // updates to each RenderProcess via RenderProcessHost IPC. 14 // updates to each RenderProcess via RenderProcessHost IPC.
15 class CONTENT_EXPORT BrowserOnlineStateObserver 15 class CONTENT_EXPORT BrowserOnlineStateObserver
16 : public net::NetworkChangeNotifier::OnlineStateObserver { 16 : public net::NetworkChangeNotifier::OnlineStateObserver {
17 public: 17 public:
18 BrowserOnlineStateObserver(); 18 BrowserOnlineStateObserver();
19 virtual ~BrowserOnlineStateObserver(); 19 virtual ~BrowserOnlineStateObserver();
20 20
21 // OnlineStateObserver implementation. 21 // OnlineStateObserver implementation.
22 virtual void OnOnlineStateChanged(bool online); 22 virtual void OnOnlineStateChanged(bool online) OVERRIDE;
23 23
24 private: 24 private:
25 DISALLOW_COPY_AND_ASSIGN(BrowserOnlineStateObserver); 25 DISALLOW_COPY_AND_ASSIGN(BrowserOnlineStateObserver);
26 }; 26 };
27 27
28 #endif // CONTENT_BROWSER_NET_BROWSER_ONLINE_STATE_OBSERVER_H_ 28 #endif // CONTENT_BROWSER_NET_BROWSER_ONLINE_STATE_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/browser/mime_registry_message_filter.h ('k') | content/browser/net/url_request_failed_dns_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698