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

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

Issue 545175: Add the ability to save and remove AutoFill profiles from the AutoFillDialog.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 | Annotate | Revision Log
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 "chrome/browser/profile.h" 5 #include "chrome/browser/profile.h"
6 6
7 #include "app/theme_provider.h" 7 #include "app/theme_provider.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
(...skipping 1082 matching lines...) Expand 10 before | Expand all | Expand 10 after
1093 } 1093 }
1094 return download_manager_.get(); 1094 return download_manager_.get();
1095 } 1095 }
1096 1096
1097 bool ProfileImpl::HasCreatedDownloadManager() const { 1097 bool ProfileImpl::HasCreatedDownloadManager() const {
1098 return created_download_manager_; 1098 return created_download_manager_;
1099 } 1099 }
1100 1100
1101 PersonalDataManager* ProfileImpl::GetPersonalDataManager() { 1101 PersonalDataManager* ProfileImpl::GetPersonalDataManager() {
1102 if (!personal_data_manager_.get()) { 1102 if (!personal_data_manager_.get()) {
1103 personal_data_manager_.reset(new PersonalDataManager); 1103 personal_data_manager_.reset(new PersonalDataManager(this));
1104 } 1104 }
1105 return personal_data_manager_.get(); 1105 return personal_data_manager_.get();
1106 } 1106 }
1107 1107
1108 void ProfileImpl::InitThemes() { 1108 void ProfileImpl::InitThemes() {
1109 if (!created_theme_provider_) { 1109 if (!created_theme_provider_) {
1110 #if defined(OS_LINUX) 1110 #if defined(OS_LINUX)
1111 theme_provider_.reset(new GtkThemeProvider); 1111 theme_provider_.reset(new GtkThemeProvider);
1112 #else 1112 #else
1113 theme_provider_.reset(new BrowserThemeProvider); 1113 theme_provider_.reset(new BrowserThemeProvider);
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
1319 } 1319 }
1320 if (!sync_service_.get()) 1320 if (!sync_service_.get())
1321 InitSyncService(); 1321 InitSyncService();
1322 return sync_service_.get(); 1322 return sync_service_.get();
1323 } 1323 }
1324 1324
1325 void ProfileImpl::InitSyncService() { 1325 void ProfileImpl::InitSyncService() {
1326 sync_service_.reset(new ProfileSyncService(this)); 1326 sync_service_.reset(new ProfileSyncService(this));
1327 sync_service_->Initialize(); 1327 sync_service_->Initialize();
1328 } 1328 }
OLDNEW
« no previous file with comments | « chrome/browser/autofill/personal_data_manager_unittest.cc ('k') | chrome/browser/webdata/web_data_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698