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

Side by Side Diff: components/password_manager/core/browser/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 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_H_ 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_STORE_H_
6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_STORE_H_ 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_STORE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/gtest_prod_util.h" 11 #include "base/gtest_prod_util.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/observer_list_threadsafe.h" 14 #include "base/observer_list_threadsafe.h"
15 #include "base/threading/thread.h" 15 #include "base/threading/thread.h"
16 #include "base/threading/thread_checker.h" 16 #include "base/threading/thread_checker.h"
17 #include "base/time/time.h" 17 #include "base/time/time.h"
18 #include "components/password_manager/core/browser/password_store_change.h" 18 #include "components/password_manager/core/browser/password_store_change.h"
19 #include "components/password_manager/core/browser/password_store_sync.h" 19 #include "components/password_manager/core/browser/password_store_sync.h"
20 #include "sync/api/syncable_service.h" 20 #include "sync/api/syncable_service.h"
21 21
22 class Task; 22 class Task;
23 23
24 namespace autofill { 24 namespace autofill {
25 struct PasswordForm; 25 struct PasswordForm;
26 } 26 }
27 27
28 namespace browser_sync {
29 class PasswordChangeProcessor;
30 class PasswordDataTypeController;
31 class PasswordModelAssociator;
32 class PasswordModelWorker;
33 }
34
35 namespace password_manager { 28 namespace password_manager {
36 class PasswordStore; 29 class PasswordStore;
37 } // namespace password_manager 30 } // namespace password_manager
38 31
39 namespace passwords_helper { 32 namespace passwords_helper {
40 void AddLogin(password_manager::PasswordStore* store, 33 void AddLogin(password_manager::PasswordStore* store,
41 const autofill::PasswordForm& form); 34 const autofill::PasswordForm& form);
42 void RemoveLogin(password_manager::PasswordStore* store, 35 void RemoveLogin(password_manager::PasswordStore* store,
43 const autofill::PasswordForm& form); 36 const autofill::PasswordForm& form);
44 void UpdateLogin(password_manager::PasswordStore* store, 37 void UpdateLogin(password_manager::PasswordStore* store,
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 scoped_ptr<PasswordSyncableService> syncable_service_; 296 scoped_ptr<PasswordSyncableService> syncable_service_;
304 297
305 bool shutdown_called_; 298 bool shutdown_called_;
306 299
307 DISALLOW_COPY_AND_ASSIGN(PasswordStore); 300 DISALLOW_COPY_AND_ASSIGN(PasswordStore);
308 }; 301 };
309 302
310 } // namespace password_manager 303 } // namespace password_manager
311 304
312 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_STORE_H_ 305 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_STORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698