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

Side by Side Diff: components/password_manager/core/browser/password_store_default.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_PASSWORD_STORE_DEFAULT_H_ 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_STORE_DEFAULT_H_
6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_STORE_DEFAULT_H_ 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_STORE_DEFAULT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/macros.h"
11 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
12 #include "components/password_manager/core/browser/login_database.h" 13 #include "components/password_manager/core/browser/login_database.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 // Simple password store implementation that delegates everything to 18 // Simple password store implementation that delegates everything to
18 // the LoginDatabase. 19 // the LoginDatabase.
19 class PasswordStoreDefault : public PasswordStore { 20 class PasswordStoreDefault : public PasswordStore {
20 public: 21 public:
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // called on the DB thread in a deferred manner. If opening the DB fails, 89 // called on the DB thread in a deferred manner. If opening the DB fails,
89 // |login_db_| will be reset and stay NULL for the lifetime of |this|. 90 // |login_db_| will be reset and stay NULL for the lifetime of |this|.
90 scoped_ptr<LoginDatabase> login_db_; 91 scoped_ptr<LoginDatabase> login_db_;
91 92
92 DISALLOW_COPY_AND_ASSIGN(PasswordStoreDefault); 93 DISALLOW_COPY_AND_ASSIGN(PasswordStoreDefault);
93 }; 94 };
94 95
95 } // namespace password_manager 96 } // namespace password_manager
96 97
97 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_STORE_DEFAULT_H_ 98 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_STORE_DEFAULT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698