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

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

Issue 5685007: Rename all methods accessing Singleton<T> as GetInstance(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 10 years 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) 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_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_MANAGER_H_ 5 #ifndef CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_MANAGER_H_
6 #define CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_MANAGER_H_ 6 #define CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_MANAGER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 class Profile; 10 class Profile;
(...skipping 14 matching lines...) Expand all
25 // 25 //
26 // There will be at most one ServiceProcess for a |profile|. 26 // There will be at most one ServiceProcess for a |profile|.
27 // 27 //
28 // This method should only be accessed on the UI thread. 28 // This method should only be accessed on the UI thread.
29 ServiceProcessControl* GetProcessControl(Profile* profile); 29 ServiceProcessControl* GetProcessControl(Profile* profile);
30 30
31 // Destroy all ServiceProcess objects created. 31 // Destroy all ServiceProcess objects created.
32 void Shutdown(); 32 void Shutdown();
33 33
34 // Return the instance of ServiceProcessControlManager. 34 // Return the instance of ServiceProcessControlManager.
35 static ServiceProcessControlManager* instance(); 35 static ServiceProcessControlManager* GetInstance();
36 36
37 private: 37 private:
38 ServiceProcessControlList process_control_list_; 38 ServiceProcessControlList process_control_list_;
39 }; 39 };
40 40
41 #endif // CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_MANAGER_H_ 41 #endif // CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698