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

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

Issue 152683002: Passwords: Remove references to BrowserThread from PasswordStore. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix more tests. Created 6 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
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/mock_password_store.h" 5 #include "chrome/browser/password_manager/mock_password_store.h"
6 6
7 MockPasswordStore::MockPasswordStore() {} 7 MockPasswordStore::MockPasswordStore()
8 : PasswordStore(base::MessageLoopProxy::current(),
9 base::MessageLoopProxy::current()) {
10 }
8 11
9 // static 12 // static
10 scoped_refptr<RefcountedBrowserContextKeyedService> MockPasswordStore::Build( 13 scoped_refptr<RefcountedBrowserContextKeyedService> MockPasswordStore::Build(
11 content::BrowserContext* profile) { 14 content::BrowserContext* profile) {
12 return new MockPasswordStore; 15 return new MockPasswordStore;
13 } 16 }
14 17
15 void MockPasswordStore::ShutdownOnUIThread() {} 18 void MockPasswordStore::ShutdownOnUIThread() {}
16 19
17 MockPasswordStore::~MockPasswordStore() {} 20 MockPasswordStore::~MockPasswordStore() {}
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/password_manager/password_store.h » ('j') | chrome/browser/password_manager/password_store.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698