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

Side by Side Diff: chrome/browser/profiles/profile.cc

Issue 8199010: Fixing misleading name a in speech input setting and related variables. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review fixes. Landing if no problems in the bots. Created 9 years, 2 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/app/generated_resources.grd ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/profiles/profile.h" 5 #include "chrome/browser/profiles/profile.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 #else 133 #else
134 false, 134 false,
135 #endif 135 #endif
136 PrefService::UNSYNCABLE_PREF); 136 PrefService::UNSYNCABLE_PREF);
137 prefs->RegisterBooleanPref(prefs::kEnableSpellCheck, 137 prefs->RegisterBooleanPref(prefs::kEnableSpellCheck,
138 true, 138 true,
139 PrefService::SYNCABLE_PREF); 139 PrefService::SYNCABLE_PREF);
140 prefs->RegisterBooleanPref(prefs::kEnableAutoSpellCorrect, 140 prefs->RegisterBooleanPref(prefs::kEnableAutoSpellCorrect,
141 true, 141 true,
142 PrefService::UNSYNCABLE_PREF); 142 PrefService::UNSYNCABLE_PREF);
143 prefs->RegisterBooleanPref(prefs::kSpeechInputCensorResults, 143 prefs->RegisterBooleanPref(prefs::kSpeechInputFilterProfanities,
144 true, 144 true,
145 PrefService::UNSYNCABLE_PREF); 145 PrefService::UNSYNCABLE_PREF);
146 #if defined(TOOLKIT_USES_GTK) 146 #if defined(TOOLKIT_USES_GTK)
147 prefs->RegisterBooleanPref(prefs::kUsesSystemTheme, 147 prefs->RegisterBooleanPref(prefs::kUsesSystemTheme,
148 GtkThemeService::DefaultUsesSystemTheme(), 148 GtkThemeService::DefaultUsesSystemTheme(),
149 PrefService::UNSYNCABLE_PREF); 149 PrefService::UNSYNCABLE_PREF);
150 #endif 150 #endif
151 prefs->RegisterFilePathPref(prefs::kCurrentThemePackFilename, 151 prefs->RegisterFilePathPref(prefs::kCurrentThemePackFilename,
152 FilePath(), 152 FilePath(),
153 PrefService::UNSYNCABLE_PREF); 153 PrefService::UNSYNCABLE_PREF);
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 return is_guest_session; 212 return is_guest_session;
213 #else 213 #else
214 return false; 214 return false;
215 #endif 215 #endif
216 } 216 }
217 217
218 bool Profile::IsSyncAccessible() { 218 bool Profile::IsSyncAccessible() {
219 ProfileSyncService* syncService = GetProfileSyncService(); 219 ProfileSyncService* syncService = GetProfileSyncService();
220 return syncService && !syncService->IsManaged(); 220 return syncService && !syncService->IsManaged();
221 } 221 }
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698