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

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

Issue 15517005: Remove references to Profile from browser_context_keyed_service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & style Created 7 years, 7 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/test_password_store.h" 5 #include "chrome/browser/password_manager/test_password_store.h"
6 6
7 #include "content/public/common/password_form.h" 7 #include "content/public/common/password_form.h"
8 8
9 // static 9 // static
10 scoped_refptr<RefcountedProfileKeyedService> TestPasswordStore::Create( 10 scoped_refptr<RefcountedBrowserContextKeyedService> TestPasswordStore::Create(
11 content::BrowserContext* profile) { 11 content::BrowserContext* profile) {
12 return make_scoped_refptr(new TestPasswordStore); 12 return make_scoped_refptr(new TestPasswordStore);
13 } 13 }
14 14
15 TestPasswordStore::TestPasswordStore() : PasswordStore() {} 15 TestPasswordStore::TestPasswordStore() : PasswordStore() {}
16 TestPasswordStore::~TestPasswordStore() {} 16 TestPasswordStore::~TestPasswordStore() {}
17 17
18 TestPasswordStore::PasswordMap TestPasswordStore::stored_passwords() { 18 TestPasswordStore::PasswordMap TestPasswordStore::stored_passwords() {
19 return stored_passwords_; 19 return stored_passwords_;
20 } 20 }
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 bool TestPasswordStore::FillAutofillableLogins( 84 bool TestPasswordStore::FillAutofillableLogins(
85 std::vector<content::PasswordForm*>* forms) { 85 std::vector<content::PasswordForm*>* forms) {
86 return true; 86 return true;
87 } 87 }
88 88
89 bool TestPasswordStore::FillBlacklistLogins( 89 bool TestPasswordStore::FillBlacklistLogins(
90 std::vector<content::PasswordForm*>* forms) { 90 std::vector<content::PasswordForm*>* forms) {
91 return true; 91 return true;
92 } 92 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698