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

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

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 Created 3 years, 7 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 <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/single_thread_task_runner.h"
13 #include "components/password_manager/core/browser/login_database.h" 14 #include "components/password_manager/core/browser/login_database.h"
14 #include "components/password_manager/core/browser/password_store.h" 15 #include "components/password_manager/core/browser/password_store.h"
15 16
16 class PrefService; 17 class PrefService;
17 18
18 namespace password_manager { 19 namespace password_manager {
19 20
20 // Simple password store implementation that delegates everything to 21 // Simple password store implementation that delegates everything to
21 // the LoginDatabase. 22 // the LoginDatabase.
22 class PasswordStoreDefault : public PasswordStore { 23 class PasswordStoreDefault : public PasswordStore {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 // called on the DB thread in a deferred manner. If opening the DB fails, 97 // called on the DB thread in a deferred manner. If opening the DB fails,
97 // |login_db_| will be reset and stay NULL for the lifetime of |this|. 98 // |login_db_| will be reset and stay NULL for the lifetime of |this|.
98 std::unique_ptr<LoginDatabase> login_db_; 99 std::unique_ptr<LoginDatabase> login_db_;
99 100
100 DISALLOW_COPY_AND_ASSIGN(PasswordStoreDefault); 101 DISALLOW_COPY_AND_ASSIGN(PasswordStoreDefault);
101 }; 102 };
102 103
103 } // namespace password_manager 104 } // namespace password_manager
104 105
105 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_STORE_DEFAULT_H_ 106 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_STORE_DEFAULT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698