| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
| 9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
| 10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 #include "chrome/browser/ssl/ssl_host_state.h" | 24 #include "chrome/browser/ssl/ssl_host_state.h" |
| 25 #include "chrome/browser/sessions/session_service.h" | 25 #include "chrome/browser/sessions/session_service.h" |
| 26 #include "chrome/browser/sessions/tab_restore_service.h" | 26 #include "chrome/browser/sessions/tab_restore_service.h" |
| 27 #include "chrome/browser/visitedlink_master.h" | 27 #include "chrome/browser/visitedlink_master.h" |
| 28 #include "chrome/browser/webdata/web_data_service.h" | 28 #include "chrome/browser/webdata/web_data_service.h" |
| 29 #include "chrome/common/chrome_constants.h" | 29 #include "chrome/common/chrome_constants.h" |
| 30 #include "chrome/common/chrome_paths.h" | 30 #include "chrome/common/chrome_paths.h" |
| 31 #include "chrome/common/chrome_switches.h" | 31 #include "chrome/common/chrome_switches.h" |
| 32 #include "chrome/common/notification_service.h" | 32 #include "chrome/common/notification_service.h" |
| 33 #include "chrome/common/pref_names.h" | 33 #include "chrome/common/pref_names.h" |
| 34 #include "chrome/common/pref_service.h" | |
| 35 #include "chrome/common/render_messages.h" | 34 #include "chrome/common/render_messages.h" |
| 36 #include "chrome/common/resource_bundle.h" | |
| 37 #include "net/url_request/url_request_context.h" | |
| 38 | 35 |
| 39 #if defined(OS_POSIX) | 36 #if defined(OS_POSIX) |
| 40 // TODO(port): get rid of this include. It's used just to provide declarations | 37 // TODO(port): get rid of this include. It's used just to provide declarations |
| 41 // and stub definitions for classes we encouter during the porting effort. | 38 // and stub definitions for classes we encouter during the porting effort. |
| 42 #include "chrome/common/temp_scaffolding_stubs.h" | 39 #include "chrome/common/temp_scaffolding_stubs.h" |
| 43 #endif | 40 #endif |
| 44 | 41 |
| 45 // TODO(port): Get rid of this section and finish porting. | 42 // TODO(port): Get rid of this section and finish porting. |
| 46 #if defined(OS_WIN) | 43 #if defined(OS_WIN) |
| 47 #include "chrome/browser/download/download_manager.h" | 44 #include "chrome/browser/download/download_manager.h" |
| (...skipping 780 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 828 } | 825 } |
| 829 | 826 |
| 830 #ifdef CHROME_PERSONALIZATION | 827 #ifdef CHROME_PERSONALIZATION |
| 831 ProfilePersonalization* ProfileImpl::GetProfilePersonalization() { | 828 ProfilePersonalization* ProfileImpl::GetProfilePersonalization() { |
| 832 if (!personalization_.get()) | 829 if (!personalization_.get()) |
| 833 personalization_.reset( | 830 personalization_.reset( |
| 834 Personalization::CreateProfilePersonalization(this)); | 831 Personalization::CreateProfilePersonalization(this)); |
| 835 return personalization_.get(); | 832 return personalization_.get(); |
| 836 } | 833 } |
| 837 #endif | 834 #endif |
| OLD | NEW |