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

Side by Side Diff: components/password_manager/core/browser/mock_password_store.h

Issue 723033002: Eliminate unnecessary forward declarations from components/password_manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
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 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_MOCK_PASSWORD_STORE_H_ 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_MOCK_PASSWORD_STORE_H_
6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_MOCK_PASSWORD_STORE_H_ 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_MOCK_PASSWORD_STORE_H_
7 7
8 #include "components/autofill/core/common/password_form.h" 8 #include "components/autofill/core/common/password_form.h"
9 #include "components/password_manager/core/browser/password_store.h" 9 #include "components/password_manager/core/browser/password_store.h"
10 #include "testing/gmock/include/gmock/gmock.h" 10 #include "testing/gmock/include/gmock/gmock.h"
11 11
12 namespace content {
13 class BrowserContext;
14 }
15
16 namespace password_manager { 12 namespace password_manager {
17 13
18 class MockPasswordStore : public PasswordStore { 14 class MockPasswordStore : public PasswordStore {
19 public: 15 public:
20 MockPasswordStore(); 16 MockPasswordStore();
21 17
22 MOCK_METHOD1(RemoveLogin, void(const autofill::PasswordForm&)); 18 MOCK_METHOD1(RemoveLogin, void(const autofill::PasswordForm&));
23 MOCK_METHOD3(GetLogins, void( 19 MOCK_METHOD3(GetLogins, void(
24 const autofill::PasswordForm&, 20 const autofill::PasswordForm&,
25 PasswordStore::AuthorizationPromptPolicy prompt_policy, 21 PasswordStore::AuthorizationPromptPolicy prompt_policy,
(...skipping 26 matching lines...) Expand all
52 48
53 PasswordStoreSync* GetSyncInterface() { return this; } 49 PasswordStoreSync* GetSyncInterface() { return this; }
54 50
55 protected: 51 protected:
56 virtual ~MockPasswordStore(); 52 virtual ~MockPasswordStore();
57 }; 53 };
58 54
59 } // namespace password_manager 55 } // namespace password_manager
60 56
61 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_MOCK_PASSWORD_STORE_H_ 57 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_MOCK_PASSWORD_STORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698