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