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 "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" |
11 #include "base/path_service.h" | 11 #include "base/path_service.h" |
12 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
13 #include "base/string_util.h" | 13 #include "base/string_util.h" |
14 #include "chrome/browser/background_contents_service.h" | 14 #include "chrome/browser/background_contents_service.h" |
15 #include "chrome/browser/browser_list.h" | 15 #include "chrome/browser/browser_list.h" |
16 #include "chrome/browser/browser_process.h" | 16 #include "chrome/browser/browser_process.h" |
17 #include "chrome/browser/browser_theme_provider.h" | |
18 #include "chrome/browser/chrome_thread.h" | 17 #include "chrome/browser/chrome_thread.h" |
19 #include "chrome/browser/download/download_manager.h" | 18 #include "chrome/browser/download/download_manager.h" |
20 #include "chrome/browser/find_bar_state.h" | 19 #include "chrome/browser/find_bar_state.h" |
21 #include "chrome/browser/in_process_webkit/webkit_context.h" | 20 #include "chrome/browser/in_process_webkit/webkit_context.h" |
22 #include "chrome/browser/net/chrome_url_request_context.h" | 21 #include "chrome/browser/net/chrome_url_request_context.h" |
23 #include "chrome/browser/notifications/desktop_notification_service.h" | 22 #include "chrome/browser/notifications/desktop_notification_service.h" |
24 #include "chrome/browser/ssl/ssl_host_state.h" | 23 #include "chrome/browser/ssl/ssl_host_state.h" |
25 #include "chrome/browser/sync/profile_sync_service.h" | 24 #include "chrome/browser/sync/profile_sync_service.h" |
| 25 #include "chrome/browser/themes/browser_theme_provider.h" |
26 #include "chrome/common/chrome_constants.h" | 26 #include "chrome/common/chrome_constants.h" |
27 #include "chrome/common/chrome_paths.h" | 27 #include "chrome/common/chrome_paths.h" |
28 #include "chrome/common/chrome_switches.h" | 28 #include "chrome/common/chrome_switches.h" |
29 #include "chrome/common/json_pref_store.h" | 29 #include "chrome/common/json_pref_store.h" |
30 #include "chrome/common/notification_service.h" | 30 #include "chrome/common/notification_service.h" |
31 #include "chrome/common/pref_names.h" | 31 #include "chrome/common/pref_names.h" |
32 #include "chrome/common/render_messages.h" | 32 #include "chrome/common/render_messages.h" |
33 #include "grit/browser_resources.h" | 33 #include "grit/browser_resources.h" |
34 #include "grit/locale_settings.h" | 34 #include "grit/locale_settings.h" |
35 #include "net/base/transport_security_state.h" | 35 #include "net/base/transport_security_state.h" |
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
558 | 558 |
559 // Tracks all BackgroundContents running under this profile. | 559 // Tracks all BackgroundContents running under this profile. |
560 scoped_ptr<BackgroundContentsService> background_contents_service_; | 560 scoped_ptr<BackgroundContentsService> background_contents_service_; |
561 | 561 |
562 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); | 562 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); |
563 }; | 563 }; |
564 | 564 |
565 Profile *Profile::CreateOffTheRecordProfile() { | 565 Profile *Profile::CreateOffTheRecordProfile() { |
566 return new OffTheRecordProfileImpl(this); | 566 return new OffTheRecordProfileImpl(this); |
567 } | 567 } |
OLD | NEW |