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

Side by Side Diff: chrome/browser/first_run/first_run.cc

Issue 104493005: Update some uses of Value in chrome/browser to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 years, 12 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/first_run/first_run.h" 5 #include "chrome/browser/first_run/first_run.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 }; 155 };
156 156
157 // Installs a task to do an extensions update check once the extensions system 157 // Installs a task to do an extensions update check once the extensions system
158 // is running. 158 // is running.
159 void DoDelayedInstallExtensions() { 159 void DoDelayedInstallExtensions() {
160 new FirstRunDelayedTasks(FirstRunDelayedTasks::INSTALL_EXTENSIONS); 160 new FirstRunDelayedTasks(FirstRunDelayedTasks::INSTALL_EXTENSIONS);
161 } 161 }
162 162
163 void DoDelayedInstallExtensionsIfNeeded( 163 void DoDelayedInstallExtensionsIfNeeded(
164 installer::MasterPreferences* install_prefs) { 164 installer::MasterPreferences* install_prefs) {
165 DictionaryValue* extensions = 0; 165 base::DictionaryValue* extensions = 0;
166 if (install_prefs->GetExtensionsBlock(&extensions)) { 166 if (install_prefs->GetExtensionsBlock(&extensions)) {
167 VLOG(1) << "Extensions block found in master preferences"; 167 VLOG(1) << "Extensions block found in master preferences";
168 DoDelayedInstallExtensions(); 168 DoDelayedInstallExtensions();
169 } 169 }
170 } 170 }
171 171
172 base::FilePath GetDefaultPrefFilePath(bool create_profile_dir, 172 base::FilePath GetDefaultPrefFilePath(bool create_profile_dir,
173 const base::FilePath& user_data_dir) { 173 const base::FilePath& user_data_dir) {
174 base::FilePath default_pref_dir = 174 base::FilePath default_pref_dir =
175 profiles::GetDefaultProfileDir(user_data_dir); 175 profiles::GetDefaultProfileDir(user_data_dir);
(...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after
821 SetShouldDoPersonalDataManagerFirstRun(); 821 SetShouldDoPersonalDataManagerFirstRun();
822 822
823 internal::DoPostImportPlatformSpecificTasks(profile); 823 internal::DoPostImportPlatformSpecificTasks(profile);
824 } 824 }
825 825
826 uint16 auto_import_state() { 826 uint16 auto_import_state() {
827 return g_auto_import_state; 827 return g_auto_import_state;
828 } 828 }
829 829
830 } // namespace first_run 830 } // namespace first_run
OLDNEW
« no previous file with comments | « chrome/browser/external_protocol/external_protocol_handler.cc ('k') | chrome/browser/geolocation/chrome_access_token_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698