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

Side by Side Diff: chrome/browser/service/service_process_control.h

Issue 8614003: Add OVERRIDE to chrome/browser/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_H_ 5 #ifndef CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_H_
6 #define CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_H_ 6 #define CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_H_
7 7
8 #include <queue> 8 #include <queue>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // Disconnect the IPC channel from the service process. 70 // Disconnect the IPC channel from the service process.
71 // Virtual for testing. 71 // Virtual for testing.
72 virtual void Disconnect(); 72 virtual void Disconnect();
73 73
74 // IPC::Channel::Listener implementation. 74 // IPC::Channel::Listener implementation.
75 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 75 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
76 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE; 76 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE;
77 virtual void OnChannelError() OVERRIDE; 77 virtual void OnChannelError() OVERRIDE;
78 78
79 // IPC::Channel::Sender implementation 79 // IPC::Channel::Sender implementation
80 virtual bool Send(IPC::Message* message); 80 virtual bool Send(IPC::Message* message) OVERRIDE;
81 81
82 // content::NotificationObserver implementation. 82 // content::NotificationObserver implementation.
83 virtual void Observe(int type, 83 virtual void Observe(int type,
84 const content::NotificationSource& source, 84 const content::NotificationSource& source,
85 const content::NotificationDetails& details); 85 const content::NotificationDetails& details) OVERRIDE;
86 86
87 // Message handlers 87 // Message handlers
88 void OnCloudPrintProxyInfo( 88 void OnCloudPrintProxyInfo(
89 const cloud_print::CloudPrintProxyInfo& proxy_info); 89 const cloud_print::CloudPrintProxyInfo& proxy_info);
90 90
91 // Send a shutdown message to the service process. IPC channel will be 91 // Send a shutdown message to the service process. IPC channel will be
92 // destroyed after calling this method. 92 // destroyed after calling this method.
93 // Return true if the message was sent. 93 // Return true if the message was sent.
94 // Virtual for testing. 94 // Virtual for testing.
95 virtual bool Shutdown(); 95 virtual bool Shutdown();
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 TaskList connect_failure_tasks_; 161 TaskList connect_failure_tasks_;
162 162
163 // Callback that gets invoked when a status message is received from 163 // Callback that gets invoked when a status message is received from
164 // the cloud print proxy. 164 // the cloud print proxy.
165 CloudPrintProxyInfoHandler cloud_print_info_callback_; 165 CloudPrintProxyInfoHandler cloud_print_info_callback_;
166 166
167 content::NotificationRegistrar registrar_; 167 content::NotificationRegistrar registrar_;
168 }; 168 };
169 169
170 #endif // CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_H_ 170 #endif // CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_H_
OLDNEW
« no previous file with comments | « chrome/browser/search_engines/template_url_service_test_util.h ('k') | chrome/browser/sessions/session_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698