| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/profiles/off_the_record_profile_impl.h" | 5 #include "chrome/browser/profiles/off_the_record_profile_impl.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 #include "chrome/common/extensions/extension.h" | 45 #include "chrome/common/extensions/extension.h" |
| 46 #include "chrome/common/json_pref_store.h" | 46 #include "chrome/common/json_pref_store.h" |
| 47 #include "chrome/common/pref_names.h" | 47 #include "chrome/common/pref_names.h" |
| 48 #include "chrome/common/render_messages.h" | 48 #include "chrome/common/render_messages.h" |
| 49 #include "content/browser/appcache/chrome_appcache_service.h" | 49 #include "content/browser/appcache/chrome_appcache_service.h" |
| 50 #include "content/browser/chrome_blob_storage_context.h" | 50 #include "content/browser/chrome_blob_storage_context.h" |
| 51 #include "content/browser/file_system/browser_file_system_helper.h" | 51 #include "content/browser/file_system/browser_file_system_helper.h" |
| 52 #include "content/browser/host_zoom_map.h" | 52 #include "content/browser/host_zoom_map.h" |
| 53 #include "content/browser/in_process_webkit/webkit_context.h" | 53 #include "content/browser/in_process_webkit/webkit_context.h" |
| 54 #include "content/browser/ssl/ssl_host_state.h" | 54 #include "content/browser/ssl/ssl_host_state.h" |
| 55 #include "content/browser/tab_contents/tab_contents.h" | |
| 56 #include "content/public/browser/browser_thread.h" | 55 #include "content/public/browser/browser_thread.h" |
| 57 #include "content/public/browser/notification_service.h" | 56 #include "content/public/browser/notification_service.h" |
| 57 #include "content/public/browser/web_contents.h" |
| 58 #include "net/base/transport_security_state.h" | 58 #include "net/base/transport_security_state.h" |
| 59 #include "net/http/http_server_properties.h" | 59 #include "net/http/http_server_properties.h" |
| 60 #include "webkit/database/database_tracker.h" | 60 #include "webkit/database/database_tracker.h" |
| 61 #include "webkit/quota/quota_manager.h" | 61 #include "webkit/quota/quota_manager.h" |
| 62 | 62 |
| 63 #if defined(OS_CHROMEOS) | 63 #if defined(OS_CHROMEOS) |
| 64 #include "chrome/browser/chromeos/preferences.h" | 64 #include "chrome/browser/chromeos/preferences.h" |
| 65 #include "chrome/browser/chromeos/proxy_config_service_impl.h" | 65 #include "chrome/browser/chromeos/proxy_config_service_impl.h" |
| 66 #endif | 66 #endif |
| 67 | 67 |
| (...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 658 OffTheRecordProfileImpl* profile = NULL; | 658 OffTheRecordProfileImpl* profile = NULL; |
| 659 #if defined(OS_CHROMEOS) | 659 #if defined(OS_CHROMEOS) |
| 660 if (Profile::IsGuestSession()) | 660 if (Profile::IsGuestSession()) |
| 661 profile = new GuestSessionProfile(this); | 661 profile = new GuestSessionProfile(this); |
| 662 #endif | 662 #endif |
| 663 if (!profile) | 663 if (!profile) |
| 664 profile = new OffTheRecordProfileImpl(this); | 664 profile = new OffTheRecordProfileImpl(this); |
| 665 profile->Init(); | 665 profile->Init(); |
| 666 return profile; | 666 return profile; |
| 667 } | 667 } |
| OLD | NEW |