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

Side by Side Diff: chrome/browser/password_manager/password_store_factory.cc

Issue 10908088: Cleanup: Constify some ProfileKeyedBaseFactory methods and all overrides. Remove ProfileKeyedBaseFa… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase, remove a few more lines of code Created 8 years, 3 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/password_manager/password_store_factory.h ('k') | chrome/browser/plugin_prefs.h » ('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/password_manager/password_store_factory.h" 5 #include "chrome/browser/password_manager/password_store_factory.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/environment.h" 8 #include "base/environment.h"
9 #include "chrome/browser/password_manager/login_database.h" 9 #include "chrome/browser/password_manager/login_database.h"
10 #include "chrome/browser/password_manager/password_store.h" 10 #include "chrome/browser/password_manager/password_store.h"
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 prefs->RegisterIntegerPref(prefs::kLocalProfileId, 198 prefs->RegisterIntegerPref(prefs::kLocalProfileId,
199 kInvalidLocalProfileId, 199 kInvalidLocalProfileId,
200 PrefService::UNSYNCABLE_PREF); 200 PrefService::UNSYNCABLE_PREF);
201 201
202 // Notice that the preprocessor conditions above are exactly those that will 202 // Notice that the preprocessor conditions above are exactly those that will
203 // result in using PasswordStoreX in CreatePasswordStore() below. 203 // result in using PasswordStoreX in CreatePasswordStore() below.
204 PasswordStoreX::RegisterUserPrefs(prefs); 204 PasswordStoreX::RegisterUserPrefs(prefs);
205 #endif 205 #endif
206 } 206 }
207 207
208 bool PasswordStoreFactory::ServiceRedirectedInIncognito() { 208 bool PasswordStoreFactory::ServiceRedirectedInIncognito() const {
209 return true; 209 return true;
210 } 210 }
211 211
212 bool PasswordStoreFactory::ServiceIsNULLWhileTesting() { 212 bool PasswordStoreFactory::ServiceIsNULLWhileTesting() const {
213 return true; 213 return true;
214 } 214 }
OLDNEW
« no previous file with comments | « chrome/browser/password_manager/password_store_factory.h ('k') | chrome/browser/plugin_prefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698