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

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
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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 112
113 virtual prerender::PrerenderTracker* prerender_tracker(); 113 virtual prerender::PrerenderTracker* prerender_tracker();
114 114
115 #if defined(IPC_MESSAGE_LOG_ENABLED) 115 #if defined(IPC_MESSAGE_LOG_ENABLED)
116 virtual void SetIPCLoggingEnabled(bool enable); 116 virtual void SetIPCLoggingEnabled(bool enable);
117 #endif 117 #endif
118 118
119 virtual MHTMLGenerationManager* mhtml_generation_manager(); 119 virtual MHTMLGenerationManager* mhtml_generation_manager();
120 120
121 private: 121 private:
122 void ClearLocalState(const FilePath& profile_path);
123 bool ShouldClearLocalState(FilePath* profile_path);
124
125 void CreateResourceDispatcherHost(); 122 void CreateResourceDispatcherHost();
126 void CreateMetricsService(); 123 void CreateMetricsService();
127 124
128 void CreateIOThread(); 125 void CreateIOThread();
129 static void CleanupOnIOThread(); 126 static void CleanupOnIOThread();
130 127
131 void WaitForPluginDataRemoverToFinish(); 128 void WaitForPluginDataRemoverToFinish();
132 129
133 void CreateFileThread(); 130 void CreateFileThread();
134 void CreateDBThread(); 131 void CreateDBThread();
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 308
312 #if defined(OS_CHROMEOS) 309 #if defined(OS_CHROMEOS)
313 scoped_refptr<chromeos::ProxyConfigServiceImpl> 310 scoped_refptr<chromeos::ProxyConfigServiceImpl>
314 chromeos_proxy_config_service_impl_; 311 chromeos_proxy_config_service_impl_;
315 #endif 312 #endif
316 313
317 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 314 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
318 }; 315 };
319 316
320 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 317 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.cc » ('j') | webkit/database/database_tracker.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698