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

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

Issue 5606002: Move:... (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
« no previous file with comments | « chrome/browser/search_engines/util.cc ('k') | chrome/browser/sessions/base_session_service.cc » ('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) 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/profile.h" 10 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/service/service_process_control.h" 11 #include "chrome/browser/service/service_process_control.h"
12 12
13 ServiceProcessControlManager::ServiceProcessControlManager() { 13 ServiceProcessControlManager::ServiceProcessControlManager() {
14 } 14 }
15 15
16 ServiceProcessControlManager::~ServiceProcessControlManager() { 16 ServiceProcessControlManager::~ServiceProcessControlManager() {
17 DCHECK(process_control_list_.empty()); 17 DCHECK(process_control_list_.empty());
18 } 18 }
19 19
20 ServiceProcessControl* ServiceProcessControlManager::GetProcessControl( 20 ServiceProcessControl* ServiceProcessControlManager::GetProcessControl(
(...skipping 17 matching lines...) Expand all
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::instance() {
46 return Singleton<ServiceProcessControlManager>::get(); 46 return Singleton<ServiceProcessControlManager>::get();
47 } 47 }
OLDNEW
« no previous file with comments | « chrome/browser/search_engines/util.cc ('k') | chrome/browser/sessions/base_session_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698