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

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

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_STUB_PASSWORD_MANAGER_DRIVER_H_ 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_STUB_PASSWORD_MANAGER_DRIVER_H_
6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_STUB_PASSWORD_MANAGER_DRIVER_H_ 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_STUB_PASSWORD_MANAGER_DRIVER_H_
7 7
8 #include "base/macros.h"
8 #include "components/password_manager/core/browser/password_manager_driver.h" 9 #include "components/password_manager/core/browser/password_manager_driver.h"
9 10
10 namespace password_manager { 11 namespace password_manager {
11 12
12 // Use this class as a base for mock or test drivers to avoid stubbing 13 // Use this class as a base for mock or test drivers to avoid stubbing
13 // uninteresting pure virtual methods. All the implemented methods are just 14 // uninteresting pure virtual methods. All the implemented methods are just
14 // trivial stubs. Do NOT use in production, only use in tests. 15 // trivial stubs. Do NOT use in production, only use in tests.
15 class StubPasswordManagerDriver : public PasswordManagerDriver { 16 class StubPasswordManagerDriver : public PasswordManagerDriver {
16 public: 17 public:
17 StubPasswordManagerDriver(); 18 StubPasswordManagerDriver();
(...skipping 16 matching lines...) Expand all
34 PasswordManager* GetPasswordManager() override; 35 PasswordManager* GetPasswordManager() override;
35 PasswordAutofillManager* GetPasswordAutofillManager() override; 36 PasswordAutofillManager* GetPasswordAutofillManager() override;
36 37
37 private: 38 private:
38 DISALLOW_COPY_AND_ASSIGN(StubPasswordManagerDriver); 39 DISALLOW_COPY_AND_ASSIGN(StubPasswordManagerDriver);
39 }; 40 };
40 41
41 } // namespace password_manager 42 } // namespace password_manager
42 43
43 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_STUB_PASSWORD_MANAGER_DRIVER _H_ 44 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_STUB_PASSWORD_MANAGER_DRIVER _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698