| 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_PROFILE_IO_DATA_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ |
| 6 #define CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ | 6 #define CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 368 // Tracks whether or not we've been lazily initialized. | 368 // Tracks whether or not we've been lazily initialized. |
| 369 mutable bool initialized_; | 369 mutable bool initialized_; |
| 370 | 370 |
| 371 // Data from the UI thread from the Profile, used to initialize ProfileIOData. | 371 // Data from the UI thread from the Profile, used to initialize ProfileIOData. |
| 372 // Deleted after lazy initialization. | 372 // Deleted after lazy initialization. |
| 373 mutable scoped_ptr<ProfileParams> profile_params_; | 373 mutable scoped_ptr<ProfileParams> profile_params_; |
| 374 | 374 |
| 375 // Member variables which are pointed to by the various context objects. | 375 // Member variables which are pointed to by the various context objects. |
| 376 mutable BooleanPrefMember enable_referrers_; | 376 mutable BooleanPrefMember enable_referrers_; |
| 377 mutable BooleanPrefMember enable_do_not_track_; | 377 mutable BooleanPrefMember enable_do_not_track_; |
| 378 mutable BooleanPrefMember force_safesearch_; |
| 378 mutable BooleanPrefMember safe_browsing_enabled_; | 379 mutable BooleanPrefMember safe_browsing_enabled_; |
| 379 mutable BooleanPrefMember printing_enabled_; | 380 mutable BooleanPrefMember printing_enabled_; |
| 380 // TODO(marja): Remove session_startup_pref_ if no longer needed. | 381 // TODO(marja): Remove session_startup_pref_ if no longer needed. |
| 381 mutable IntegerPrefMember session_startup_pref_; | 382 mutable IntegerPrefMember session_startup_pref_; |
| 382 | 383 |
| 383 // The state of metrics reporting in the browser that this profile runs on. | 384 // The state of metrics reporting in the browser that this profile runs on. |
| 384 // Unfortunately, since ChromeOS has a separate representation of this state, | 385 // Unfortunately, since ChromeOS has a separate representation of this state, |
| 385 // we need to make one available based on the platform. | 386 // we need to make one available based on the platform. |
| 386 #if defined(OS_CHROMEOS) | 387 #if defined(OS_CHROMEOS) |
| 387 bool enable_metrics_; | 388 bool enable_metrics_; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 434 | 435 |
| 435 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. | 436 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. |
| 436 bool initialized_on_UI_thread_; | 437 bool initialized_on_UI_thread_; |
| 437 | 438 |
| 438 bool is_incognito_; | 439 bool is_incognito_; |
| 439 | 440 |
| 440 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); | 441 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); |
| 441 }; | 442 }; |
| 442 | 443 |
| 443 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ | 444 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ |
| OLD | NEW |