Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: chrome/browser/profiles/profile_io_data.h

Issue 10108026: Transmit a X-Chrome-UMA-Enabled bit to Google domains from clients that have UMA enabled. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: merge to tot Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/profiles/profile_impl_io_data.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_io_data.h
diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h
index 2f892ed9705340dff99fe79fe7e0f3f351b0146f..3447f91550df04575a09e3f642c9dbb8610ef311 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -107,6 +107,10 @@ class ProfileIOData {
return &safe_browsing_enabled_;
}
+ BooleanPrefMember* enable_metrics() const {
+ return &enable_metrics_;
+ }
+
net::TransportSecurityState* transport_security_state() const {
return transport_security_state_.get();
}
@@ -114,6 +118,10 @@ class ProfileIOData {
chrome_browser_net::HttpServerPropertiesManager*
http_server_properties_manager() const;
+ bool is_incognito() const {
+ return is_incognito_;
+ }
+
protected:
class AppRequestContext : public ChromeURLRequestContext {
public:
@@ -136,7 +144,6 @@ class ProfileIOData {
~ProfileParams();
FilePath path;
- bool is_incognito;
bool clear_local_state_on_exit;
std::string accept_language;
std::string accept_charset;
@@ -290,6 +297,7 @@ class ProfileIOData {
// Member variables which are pointed to by the various context objects.
mutable BooleanPrefMember enable_referrers_;
+ mutable BooleanPrefMember enable_metrics_;
mutable BooleanPrefMember clear_local_state_on_exit_;
mutable BooleanPrefMember safe_browsing_enabled_;
// TODO(marja): Remove session_startup_pref_ if no longer needed.
@@ -333,6 +341,8 @@ class ProfileIOData {
// TODO(jhawkins): Remove once crbug.com/102004 is fixed.
bool initialized_on_UI_thread_;
+ bool is_incognito_;
+
DISALLOW_COPY_AND_ASSIGN(ProfileIOData);
};
« no previous file with comments | « chrome/browser/profiles/profile_impl_io_data.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698