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

Unified Diff: chrome/browser/password_manager/mock_password_store.h

Issue 14141006: [components] Switch {RefCounted}ProfileKeyedService to use BrowserContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trybots 2 Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/password_manager/mock_password_store.h
diff --git a/chrome/browser/password_manager/mock_password_store.h b/chrome/browser/password_manager/mock_password_store.h
index 5bc7720ae3b56c4141bfe07fc033b2f92061c2b5..ae58a0b7b8292ff6b0ff66c74cbe565933365cae 100644
--- a/chrome/browser/password_manager/mock_password_store.h
+++ b/chrome/browser/password_manager/mock_password_store.h
@@ -9,13 +9,16 @@
#include "content/public/common/password_form.h"
#include "testing/gmock/include/gmock/gmock.h"
-class Profile;
+namespace content {
+class BrowserContext;
+}
class MockPasswordStore : public PasswordStore {
public:
MockPasswordStore();
- static scoped_refptr<RefcountedProfileKeyedService> Build(Profile* profile);
+ static scoped_refptr<RefcountedProfileKeyedService> Build(
+ content::BrowserContext* profile);
MOCK_METHOD1(RemoveLogin, void(const content::PasswordForm&));
MOCK_METHOD2(GetLogins,

Powered by Google App Engine
This is Rietveld 408576698