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

Side by Side Diff: chrome/browser/profiles/profile_io_data.h

Issue 12088040: Add a SigninAllowed policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address nits and rebase to ToT. Created 7 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 } 168 }
169 169
170 BooleanPrefMember* printing_enabled() const { 170 BooleanPrefMember* printing_enabled() const {
171 return &printing_enabled_; 171 return &printing_enabled_;
172 } 172 }
173 173
174 BooleanPrefMember* sync_disabled() const { 174 BooleanPrefMember* sync_disabled() const {
175 return &sync_disabled_; 175 return &sync_disabled_;
176 } 176 }
177 177
178 BooleanPrefMember* signin_allowed() const {
179 return &signin_allowed_;
180 }
181
178 net::TransportSecurityState* transport_security_state() const { 182 net::TransportSecurityState* transport_security_state() const {
179 return transport_security_state_.get(); 183 return transport_security_state_.get();
180 } 184 }
181 185
182 bool is_incognito() const { 186 bool is_incognito() const {
183 return is_incognito_; 187 return is_incognito_;
184 } 188 }
185 189
186 chrome_browser_net::ResourcePrefetchPredictorObserver* 190 chrome_browser_net::ResourcePrefetchPredictorObserver*
187 resource_prefetch_predictor_observer() const { 191 resource_prefetch_predictor_observer() const {
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 486
483 mutable StringListPrefMember one_click_signin_rejected_email_list_; 487 mutable StringListPrefMember one_click_signin_rejected_email_list_;
484 488
485 // Member variables which are pointed to by the various context objects. 489 // Member variables which are pointed to by the various context objects.
486 mutable BooleanPrefMember enable_referrers_; 490 mutable BooleanPrefMember enable_referrers_;
487 mutable BooleanPrefMember enable_do_not_track_; 491 mutable BooleanPrefMember enable_do_not_track_;
488 mutable BooleanPrefMember force_safesearch_; 492 mutable BooleanPrefMember force_safesearch_;
489 mutable BooleanPrefMember safe_browsing_enabled_; 493 mutable BooleanPrefMember safe_browsing_enabled_;
490 mutable BooleanPrefMember printing_enabled_; 494 mutable BooleanPrefMember printing_enabled_;
491 mutable BooleanPrefMember sync_disabled_; 495 mutable BooleanPrefMember sync_disabled_;
496 mutable BooleanPrefMember signin_allowed_;
492 // TODO(marja): Remove session_startup_pref_ if no longer needed. 497 // TODO(marja): Remove session_startup_pref_ if no longer needed.
493 mutable IntegerPrefMember session_startup_pref_; 498 mutable IntegerPrefMember session_startup_pref_;
494 499
495 // The state of metrics reporting in the browser that this profile runs on. 500 // The state of metrics reporting in the browser that this profile runs on.
496 // Unfortunately, since ChromeOS has a separate representation of this state, 501 // Unfortunately, since ChromeOS has a separate representation of this state,
497 // we need to make one available based on the platform. 502 // we need to make one available based on the platform.
498 #if defined(OS_CHROMEOS) 503 #if defined(OS_CHROMEOS)
499 bool enable_metrics_; 504 bool enable_metrics_;
500 #else 505 #else
501 BooleanPrefMember enable_metrics_; 506 BooleanPrefMember enable_metrics_;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 553
549 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. 554 // TODO(jhawkins): Remove once crbug.com/102004 is fixed.
550 bool initialized_on_UI_thread_; 555 bool initialized_on_UI_thread_;
551 556
552 bool is_incognito_; 557 bool is_incognito_;
553 558
554 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); 559 DISALLOW_COPY_AND_ASSIGN(ProfileIOData);
555 }; 560 };
556 561
557 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 562 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698