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/env_var.h" | 9 #include "base/env_var.h" |
10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
(...skipping 27 matching lines...) Expand all Loading... |
38 #if defined(TOOLKIT_USES_GTK) | 38 #if defined(TOOLKIT_USES_GTK) |
39 #include "chrome/browser/gtk/gtk_theme_provider.h" | 39 #include "chrome/browser/gtk/gtk_theme_provider.h" |
40 #endif | 40 #endif |
41 | 41 |
42 #if defined(OS_WIN) | 42 #if defined(OS_WIN) |
43 #include "chrome/browser/password_manager/password_store_win.h" | 43 #include "chrome/browser/password_manager/password_store_win.h" |
44 #elif defined(OS_MACOSX) | 44 #elif defined(OS_MACOSX) |
45 #include "chrome/browser/keychain_mac.h" | 45 #include "chrome/browser/keychain_mac.h" |
46 #include "chrome/browser/password_manager/password_store_mac.h" | 46 #include "chrome/browser/password_manager/password_store_mac.h" |
47 #elif defined(OS_POSIX) && !defined(OS_CHROMEOS) | 47 #elif defined(OS_POSIX) && !defined(OS_CHROMEOS) |
48 #include "base/xdg_util.h" | |
49 #include "chrome/browser/password_manager/native_backend_gnome_x.h" | 48 #include "chrome/browser/password_manager/native_backend_gnome_x.h" |
50 #include "chrome/browser/password_manager/native_backend_kwallet_x.h" | 49 #include "chrome/browser/password_manager/native_backend_kwallet_x.h" |
51 #include "chrome/browser/password_manager/password_store_x.h" | 50 #include "chrome/browser/password_manager/password_store_x.h" |
52 #endif | 51 #endif |
53 | 52 |
54 using base::Time; | 53 using base::Time; |
55 using base::TimeDelta; | 54 using base::TimeDelta; |
56 | 55 |
57 // A pointer to the request context for the default profile. See comments on | 56 // A pointer to the request context for the default profile. See comments on |
58 // Profile::GetDefaultRequestContext. | 57 // Profile::GetDefaultRequestContext. |
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
541 | 540 |
542 // Tracks all BackgroundContents running under this profile. | 541 // Tracks all BackgroundContents running under this profile. |
543 scoped_ptr<BackgroundContentsService> background_contents_service_; | 542 scoped_ptr<BackgroundContentsService> background_contents_service_; |
544 | 543 |
545 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); | 544 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); |
546 }; | 545 }; |
547 | 546 |
548 Profile *Profile::CreateOffTheRecordProfile() { | 547 Profile *Profile::CreateOffTheRecordProfile() { |
549 return new OffTheRecordProfileImpl(this); | 548 return new OffTheRecordProfileImpl(this); |
550 } | 549 } |
551 | |
OLD | NEW |