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

Side by Side Diff: chrome/common/temp_scaffolding_stubs.cpp

Issue 18248: CommandLine API rework (Closed)
Patch Set: fixes Created 11 years, 11 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
« no previous file with comments | « chrome/common/temp_scaffolding_stubs.h ('k') | chrome/installer/setup/main.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "temp_scaffolding_stubs.h" 5 #include "temp_scaffolding_stubs.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/thread.h" 8 #include "base/thread.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/singleton.h" 10 #include "base/singleton.h"
11 #include "chrome/browser/plugin_service.h" 11 #include "chrome/browser/plugin_service.h"
12 #include "chrome/browser/shell_integration.h" 12 #include "chrome/browser/shell_integration.h"
13 #include "chrome/common/chrome_constants.h" 13 #include "chrome/common/chrome_constants.h"
14 #include "chrome/common/chrome_paths.h" 14 #include "chrome/common/chrome_paths.h"
15 #include "chrome/common/pref_service.h" 15 #include "chrome/common/pref_service.h"
16 16
17 BrowserProcessImpl::BrowserProcessImpl(CommandLine& command_line) 17 BrowserProcessImpl::BrowserProcessImpl(const CommandLine& command_line)
18 : created_local_state_(), created_metrics_service_(), 18 : created_local_state_(), created_metrics_service_(),
19 created_profile_manager_() { 19 created_profile_manager_() {
20 g_browser_process = this; 20 g_browser_process = this;
21 } 21 }
22 22
23 BrowserProcessImpl::~BrowserProcessImpl() { 23 BrowserProcessImpl::~BrowserProcessImpl() {
24 g_browser_process = NULL; 24 g_browser_process = NULL;
25 } 25 }
26 26
27 void BrowserProcessImpl::CreateLocalState() { 27 void BrowserProcessImpl::CreateLocalState() {
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 195
196 void PluginService::SetChromePluginDataDir(const std::wstring& data_dir) { 196 void PluginService::SetChromePluginDataDir(const std::wstring& data_dir) {
197 AutoLock lock(lock_); 197 AutoLock lock(lock_);
198 chrome_plugin_data_dir_ = data_dir; 198 chrome_plugin_data_dir_ = data_dir;
199 } 199 }
200 200
201 //-------------------------------------------------------------------------- 201 //--------------------------------------------------------------------------
202 202
203 void InstallJankometer(const CommandLine&) { 203 void InstallJankometer(const CommandLine&) {
204 } 204 }
OLDNEW
« no previous file with comments | « chrome/common/temp_scaffolding_stubs.h ('k') | chrome/installer/setup/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698