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

Side by Side Diff: components/password_manager/core/browser/test_password_store.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_TEST_PASSWORD_STORE_H_ 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_TEST_PASSWORD_STORE_H_
6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_TEST_PASSWORD_STORE_H_ 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_TEST_PASSWORD_STORE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/macros.h"
12 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
13 #include "components/password_manager/core/browser/password_store.h" 14 #include "components/password_manager/core/browser/password_store.h"
14 15
15 namespace password_manager { 16 namespace password_manager {
16 17
17 // A very simple PasswordStore implementation that keeps all of the passwords 18 // A very simple PasswordStore implementation that keeps all of the passwords
18 // in memory and does all its manipulations on the main thread. Since this 19 // in memory and does all its manipulations on the main thread. Since this
19 // is only used for testing, only the parts of the interface that are needed 20 // is only used for testing, only the parts of the interface that are needed
20 // for testing have been implemented. 21 // for testing have been implemented.
21 class TestPasswordStore : public PasswordStore { 22 class TestPasswordStore : public PasswordStore {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 70
70 private: 71 private:
71 PasswordMap stored_passwords_; 72 PasswordMap stored_passwords_;
72 73
73 DISALLOW_COPY_AND_ASSIGN(TestPasswordStore); 74 DISALLOW_COPY_AND_ASSIGN(TestPasswordStore);
74 }; 75 };
75 76
76 } // namespace password_manager 77 } // namespace password_manager
77 78
78 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_TEST_PASSWORD_STORE_H_ 79 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_TEST_PASSWORD_STORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698