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

Side by Side Diff: chrome/service/service_process.h

Issue 8549032: Add OVERRIDE to chrome/service/. (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
« no previous file with comments | « chrome/service/service_ipc_server.h ('k') | chrome/service/service_utility_process_host.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_SERVICE_SERVICE_PROCESS_H_ 5 #ifndef CHROME_SERVICE_SERVICE_PROCESS_H_
6 #define CHROME_SERVICE_SERVICE_PROCESS_H_ 6 #define CHROME_SERVICE_SERVICE_PROCESS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 bool update_available() const { return update_available_; } 86 bool update_available() const { return update_available_; }
87 87
88 // Called by the IPC server when a client disconnects. A return value of 88 // Called by the IPC server when a client disconnects. A return value of
89 // true indicates that the IPC server should continue listening for new 89 // true indicates that the IPC server should continue listening for new
90 // connections. 90 // connections.
91 bool HandleClientDisconnect(); 91 bool HandleClientDisconnect();
92 92
93 CloudPrintProxy* GetCloudPrintProxy(); 93 CloudPrintProxy* GetCloudPrintProxy();
94 94
95 // CloudPrintProxy::Client implementation. 95 // CloudPrintProxy::Client implementation.
96 virtual void OnCloudPrintProxyEnabled(bool persist_state); 96 virtual void OnCloudPrintProxyEnabled(bool persist_state) OVERRIDE;
97 virtual void OnCloudPrintProxyDisabled(bool persist_state); 97 virtual void OnCloudPrintProxyDisabled(bool persist_state) OVERRIDE;
98 98
99 ServiceURLRequestContextGetter* GetServiceURLRequestContextGetter(); 99 ServiceURLRequestContextGetter* GetServiceURLRequestContextGetter();
100 100
101 private: 101 private:
102 // Schedule a call to ShutdownIfNeeded. 102 // Schedule a call to ShutdownIfNeeded.
103 void ScheduleShutdownCheck(); 103 void ScheduleShutdownCheck();
104 104
105 // Shuts down the process if no services are enabled and no clients are 105 // Shuts down the process if no services are enabled and no clients are
106 // connected. 106 // connected.
107 void ShutdownIfNeeded(); 107 void ShutdownIfNeeded();
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 DISALLOW_COPY_AND_ASSIGN(ServiceProcess); 142 DISALLOW_COPY_AND_ASSIGN(ServiceProcess);
143 }; 143 };
144 144
145 // Disable refcounting for runnable method because it is really not needed 145 // Disable refcounting for runnable method because it is really not needed
146 // when we post tasks on the main message loop. 146 // when we post tasks on the main message loop.
147 DISABLE_RUNNABLE_METHOD_REFCOUNT(ServiceProcess); 147 DISABLE_RUNNABLE_METHOD_REFCOUNT(ServiceProcess);
148 148
149 extern ServiceProcess* g_service_process; 149 extern ServiceProcess* g_service_process;
150 150
151 #endif // CHROME_SERVICE_SERVICE_PROCESS_H_ 151 #endif // CHROME_SERVICE_SERVICE_PROCESS_H_
OLDNEW
« no previous file with comments | « chrome/service/service_ipc_server.h ('k') | chrome/service/service_utility_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698