OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ |
6 #define CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ | 6 #define CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
11 #include "chrome/browser/profiles/off_the_record_profile_io_data.h" | 11 #include "chrome/browser/profiles/off_the_record_profile_io_data.h" |
12 #include "chrome/browser/profiles/profile.h" | 12 #include "chrome/browser/profiles/profile.h" |
13 #include "chrome/browser/ui/browser_list.h" | 13 #include "chrome/browser/ui/browser_list.h" |
14 #include "content/public/browser/notification_observer.h" | 14 #include "content/public/browser/notification_observer.h" |
| 15 #include "content/public/browser/notification_registrar.h" |
15 | 16 |
16 using base::Time; | 17 using base::Time; |
17 using base::TimeDelta; | 18 using base::TimeDelta; |
18 | 19 |
19 //////////////////////////////////////////////////////////////////////////////// | 20 //////////////////////////////////////////////////////////////////////////////// |
20 // | 21 // |
21 // OffTheRecordProfileImpl is a profile subclass that wraps an existing profile | 22 // OffTheRecordProfileImpl is a profile subclass that wraps an existing profile |
22 // to make it suitable for the incognito mode. | 23 // to make it suitable for the incognito mode. |
23 // | 24 // |
24 // Note: This class is a leaf class and is not intended for subclassing. | 25 // Note: This class is a leaf class and is not intended for subclassing. |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 Time start_time_; | 138 Time start_time_; |
138 | 139 |
139 FilePath last_selected_directory_; | 140 FilePath last_selected_directory_; |
140 | 141 |
141 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 142 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
142 | 143 |
143 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); | 144 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); |
144 }; | 145 }; |
145 | 146 |
146 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ | 147 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ |
OLD | NEW |