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