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

Side by Side Diff: chrome/browser/defaults.cc

Issue 12077030: Allow signin to continue even if sync is disabled by policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix windows sync integration test failure Created 7 years, 10 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/defaults.h ('k') | chrome/browser/profiles/profile_impl.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 #include "chrome/browser/defaults.h" 5 #include "chrome/browser/defaults.h"
6 6
7 namespace browser_defaults { 7 namespace browser_defaults {
8 8
9 #if defined(USE_AURA) 9 #if defined(USE_AURA)
10 const bool kOSSupportsOtherBrowsers = false; 10 const bool kOSSupportsOtherBrowsers = false;
(...skipping 13 matching lines...) Expand all
24 const int kAutocompleteEditFontPixelSize = 15; 24 const int kAutocompleteEditFontPixelSize = 15;
25 25
26 const int kAutocompleteEditFontPixelSizeInPopup = 10; 26 const int kAutocompleteEditFontPixelSizeInPopup = 10;
27 27
28 const bool kCanToggleSystemTitleBar = false; 28 const bool kCanToggleSystemTitleBar = false;
29 const bool kRestorePopups = false; 29 const bool kRestorePopups = false;
30 const bool kShowImportOnBookmarkBar = false; 30 const bool kShowImportOnBookmarkBar = false;
31 const bool kShowExitMenuItem = false; 31 const bool kShowExitMenuItem = false;
32 const bool kShowFeedbackMenuItem = true; 32 const bool kShowFeedbackMenuItem = true;
33 const bool kShowHelpMenuItemIcon = true; 33 const bool kShowHelpMenuItemIcon = true;
34 const bool kShowSigninMenuItem = false;
35 const bool kShowUpgradeMenuItem = false; 34 const bool kShowUpgradeMenuItem = false;
36 const bool kDownloadPageHasShowInFolder = true; 35 const bool kDownloadPageHasShowInFolder = true;
37 const bool kSizeTabButtonToTopOfTabStrip = false; 36 const bool kSizeTabButtonToTopOfTabStrip = false;
38 const bool kSyncAutoStarts = true; 37 const bool kSyncAutoStarts = true;
39 const bool kShowOtherBrowsersInAboutMemory = false; 38 const bool kShowOtherBrowsersInAboutMemory = false;
40 const bool kAlwaysOpenIncognitoWindow = true; 39 const bool kAlwaysOpenIncognitoWindow = true;
41 40
42 #elif defined(TOOLKIT_GTK) 41 #elif defined(TOOLKIT_GTK)
43 42
44 // 14px = 10.5pt @ 96dpi. 43 // 14px = 10.5pt @ 96dpi.
(...skipping 24 matching lines...) Expand all
69 const bool kRestorePopups = false; 68 const bool kRestorePopups = false;
70 const bool kShowImportOnBookmarkBar = true; 69 const bool kShowImportOnBookmarkBar = true;
71 const bool kDownloadPageHasShowInFolder = true; 70 const bool kDownloadPageHasShowInFolder = true;
72 #if defined(OS_MACOSX) 71 #if defined(OS_MACOSX)
73 const bool kShowExitMenuItem = false; 72 const bool kShowExitMenuItem = false;
74 #else 73 #else
75 const bool kShowExitMenuItem = true; 74 const bool kShowExitMenuItem = true;
76 #endif 75 #endif
77 const bool kShowFeedbackMenuItem = false; 76 const bool kShowFeedbackMenuItem = false;
78 const bool kShowHelpMenuItemIcon = false; 77 const bool kShowHelpMenuItemIcon = false;
79 const bool kShowSigninMenuItem = true;
80 const bool kShowUpgradeMenuItem = true; 78 const bool kShowUpgradeMenuItem = true;
81 const bool kSizeTabButtonToTopOfTabStrip = false; 79 const bool kSizeTabButtonToTopOfTabStrip = false;
82 #if defined(OS_ANDROID) 80 #if defined(OS_ANDROID)
83 const bool kSyncAutoStarts = true; 81 const bool kSyncAutoStarts = true;
84 const bool kShowOtherBrowsersInAboutMemory = false; 82 const bool kShowOtherBrowsersInAboutMemory = false;
85 #else 83 #else
86 const bool kSyncAutoStarts = false; 84 const bool kSyncAutoStarts = false;
87 const bool kShowOtherBrowsersInAboutMemory = true; 85 const bool kShowOtherBrowsersInAboutMemory = true;
88 #endif 86 #endif
89 const bool kAlwaysOpenIncognitoWindow = false; 87 const bool kAlwaysOpenIncognitoWindow = false;
(...skipping 26 matching lines...) Expand all
116 const bool kAlwaysCreateTabbedBrowserOnSessionRestore = false; 114 const bool kAlwaysCreateTabbedBrowserOnSessionRestore = false;
117 #else 115 #else
118 const bool kAlwaysCreateTabbedBrowserOnSessionRestore = true; 116 const bool kAlwaysCreateTabbedBrowserOnSessionRestore = true;
119 #endif 117 #endif
120 118
121 bool bookmarks_enabled = true; 119 bool bookmarks_enabled = true;
122 120
123 bool enable_help_app = true; 121 bool enable_help_app = true;
124 122
125 } // namespace browser_defaults 123 } // namespace browser_defaults
OLDNEW
« no previous file with comments | « chrome/browser/defaults.h ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698