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/browser_process_impl.h

Issue 7234014: Move code to clear web databases on shutdown to the database tracker (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 9 years, 5 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 | « no previous file | chrome/browser/browser_process_impl.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) 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 // When each service is created, we set a flag indicating this. At this point, 5 // When each service is created, we set a flag indicating this. At this point,
6 // the service initialization could fail or succeed. This allows us to remember 6 // the service initialization could fail or succeed. This allows us to remember
7 // if we tried to create a service, and not try creating it over and over if 7 // if we tried to create a service, and not try creating it over and over if
8 // the creation failed. 8 // the creation failed.
9 9
10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 116
117 virtual prerender::PrerenderTracker* prerender_tracker(); 117 virtual prerender::PrerenderTracker* prerender_tracker();
118 118
119 #if defined(IPC_MESSAGE_LOG_ENABLED) 119 #if defined(IPC_MESSAGE_LOG_ENABLED)
120 virtual void SetIPCLoggingEnabled(bool enable); 120 virtual void SetIPCLoggingEnabled(bool enable);
121 #endif 121 #endif
122 122
123 virtual MHTMLGenerationManager* mhtml_generation_manager(); 123 virtual MHTMLGenerationManager* mhtml_generation_manager();
124 124
125 private: 125 private:
126 void ClearLocalState(const FilePath& profile_path);
127 bool ShouldClearLocalState(FilePath* profile_path);
128
129 void CreateResourceDispatcherHost(); 126 void CreateResourceDispatcherHost();
130 void CreateMetricsService(); 127 void CreateMetricsService();
131 128
132 void CreateIOThread(); 129 void CreateIOThread();
133 static void CleanupOnIOThread(); 130 static void CleanupOnIOThread();
134 131
135 void WaitForPluginDataRemoverToFinish(); 132 void WaitForPluginDataRemoverToFinish();
136 133
137 void CreateFileThread(); 134 void CreateFileThread();
138 void CreateDBThread(); 135 void CreateDBThread();
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 311
315 #if defined(OS_CHROMEOS) 312 #if defined(OS_CHROMEOS)
316 scoped_refptr<chromeos::ProxyConfigServiceImpl> 313 scoped_refptr<chromeos::ProxyConfigServiceImpl>
317 chromeos_proxy_config_service_impl_; 314 chromeos_proxy_config_service_impl_;
318 #endif 315 #endif
319 316
320 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 317 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
321 }; 318 };
322 319
323 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 320 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698