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

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

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 #include "chrome/browser/service/service_process_control_manager.h" 5 #include "chrome/browser/service/service_process_control_manager.h"
6 6
7 #include "base/singleton.h" 7 #include "base/singleton.h"
8 #include "base/stl_util-inl.h" 8 #include "base/stl_util-inl.h"
9 #include "chrome/browser/browser_thread.h" 9 #include "chrome/browser/browser_thread.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
(...skipping 24 matching lines...) Expand all
35 return process; 35 return process;
36 } 36 }
37 37
38 void ServiceProcessControlManager::Shutdown() { 38 void ServiceProcessControlManager::Shutdown() {
39 // When we shutdown the manager we just clear the list and don't actually 39 // When we shutdown the manager we just clear the list and don't actually
40 // shutdown the service process. 40 // shutdown the service process.
41 STLDeleteElements(&process_control_list_); 41 STLDeleteElements(&process_control_list_);
42 } 42 }
43 43
44 // static 44 // static
45 ServiceProcessControlManager* ServiceProcessControlManager::instance() { 45 ServiceProcessControlManager* ServiceProcessControlManager::GetInstance() {
46 return Singleton<ServiceProcessControlManager>::get(); 46 return Singleton<ServiceProcessControlManager>::get();
47 } 47 }
OLDNEW
« no previous file with comments | « chrome/browser/service/service_process_control_manager.h ('k') | chrome/browser/ssl/ssl_blocking_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698