OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/resource_bundle.h" | 7 #include "app/resource_bundle.h" |
8 #include "app/theme_provider.h" | |
9 #include "base/command_line.h" | 8 #include "base/command_line.h" |
10 #include "base/env_var.h" | 9 #include "base/env_var.h" |
11 #include "base/file_path.h" | 10 #include "base/file_path.h" |
12 #include "base/file_util.h" | 11 #include "base/file_util.h" |
13 #include "base/path_service.h" | 12 #include "base/path_service.h" |
14 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
15 #include "base/string_util.h" | 14 #include "base/string_util.h" |
16 #include "chrome/browser/appcache/chrome_appcache_service.h" | 15 #include "chrome/browser/appcache/chrome_appcache_service.h" |
17 #include "chrome/browser/autocomplete/autocomplete_classifier.h" | 16 #include "chrome/browser/autocomplete/autocomplete_classifier.h" |
18 #include "chrome/browser/autofill/personal_data_manager.h" | 17 #include "chrome/browser/autofill/personal_data_manager.h" |
(...skipping 1642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1661 new ProfileSyncFactoryImpl(this, CommandLine::ForCurrentProcess())); | 1660 new ProfileSyncFactoryImpl(this, CommandLine::ForCurrentProcess())); |
1662 sync_service_.reset( | 1661 sync_service_.reset( |
1663 profile_sync_factory_->CreateProfileSyncService()); | 1662 profile_sync_factory_->CreateProfileSyncService()); |
1664 sync_service_->Initialize(); | 1663 sync_service_->Initialize(); |
1665 } | 1664 } |
1666 | 1665 |
1667 void ProfileImpl::InitCloudPrintProxyService() { | 1666 void ProfileImpl::InitCloudPrintProxyService() { |
1668 cloud_print_proxy_service_.reset(new CloudPrintProxyService(this)); | 1667 cloud_print_proxy_service_.reset(new CloudPrintProxyService(this)); |
1669 cloud_print_proxy_service_->Initialize(); | 1668 cloud_print_proxy_service_->Initialize(); |
1670 } | 1669 } |
OLD | NEW |