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

Side by Side Diff: chrome/common/service_process_util.h

Issue 3257011: Registered the service process to AutoRun (for Windows) if any service (Cloud... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Fixed Linux compile Created 10 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/pref_names.cc ('k') | chrome/common/service_process_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_COMMON_SERVICE_PROCESS_UTIL_H_ 5 #ifndef CHROME_COMMON_SERVICE_PROCESS_UTIL_H_
6 #define CHROME_COMMON_SERVICE_PROCESS_UTIL_H_ 6 #define CHROME_COMMON_SERVICE_PROCESS_UTIL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/common/service_process_type.h" 10 #include "chrome/common/service_process_type.h"
11 11
12 class Profile; 12 class Profile;
13 13
14 // Return the IPC channel to connect to the service process with |profile| 14 // Return the IPC channel to connect to the service process.
15 // and |type|.
16 // 15 //
17 // TODO(hclam): Need more information to come up with the channel name. 16 // TODO(hclam): Need more information to come up with the channel name.
18 std::string GetServiceProcessChannelName(ServiceProcessType type); 17 std::string GetServiceProcessChannelName();
19 18
20 // The following methods are used as a mechanism to signal a service process 19 // The following methods are used as a mechanism to signal a service process
21 // is running properly and all initialized. 20 // is running properly and all initialized.
22 // 21 //
23 // Signal that the service process is running. 22 // Signal that the service process is running.
24 // This method is called when the service process is running and initialized. 23 // This method is called when the service process is running and initialized.
25 void SignalServiceProcessRunning(ServiceProcessType type); 24 void SignalServiceProcessRunning(ServiceProcessType type);
26 25
27 // Signal that the service process is stopped. 26 // Signal that the service process is stopped.
28 void SignalServiceProcessStopped(ServiceProcessType type); 27 void SignalServiceProcessStopped(ServiceProcessType type);
29 28
30 // This method checks that if the service process is running. 29 // This method checks that if the service process is running.
31 bool CheckServiceProcessRunning(ServiceProcessType type); 30 bool CheckServiceProcessRunning(ServiceProcessType type);
32 31
33 #endif // CHROME_COMMON_SERVICE_PROCESS_UTIL_H_ 32 #endif // CHROME_COMMON_SERVICE_PROCESS_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | chrome/common/service_process_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698