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

Side by Side Diff: chrome/browser/password_manager/password_store_mac.h

Issue 183223003: Add StartSyncFlare to PasswordSyncableService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with trunk Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_H_ 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_H_ 6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 15 matching lines...) Expand all
26 public: 26 public:
27 // Takes ownership of |keychain| and |login_db|, both of which must be 27 // Takes ownership of |keychain| and |login_db|, both of which must be
28 // non-NULL. 28 // non-NULL.
29 PasswordStoreMac( 29 PasswordStoreMac(
30 scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner, 30 scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner,
31 scoped_refptr<base::SingleThreadTaskRunner> db_thread_runner, 31 scoped_refptr<base::SingleThreadTaskRunner> db_thread_runner,
32 crypto::AppleKeychain* keychain, 32 crypto::AppleKeychain* keychain,
33 LoginDatabase* login_db); 33 LoginDatabase* login_db);
34 34
35 // Initializes |thread_|. 35 // Initializes |thread_|.
36 virtual bool Init() OVERRIDE; 36 virtual bool Init(
37 const syncer::SyncableService::StartSyncFlare& flare) OVERRIDE;
37 38
38 protected: 39 protected:
39 virtual ~PasswordStoreMac(); 40 virtual ~PasswordStoreMac();
40 41
41 virtual scoped_refptr<base::SingleThreadTaskRunner> 42 virtual scoped_refptr<base::SingleThreadTaskRunner>
42 GetBackgroundTaskRunner() OVERRIDE; 43 GetBackgroundTaskRunner() OVERRIDE;
43 44
44 private: 45 private:
45 virtual void ReportMetricsImpl() OVERRIDE; 46 virtual void ReportMetricsImpl() OVERRIDE;
46 virtual PasswordStoreChangeList AddLoginImpl( 47 virtual PasswordStoreChangeList AddLoginImpl(
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 scoped_ptr<crypto::AppleKeychain> keychain_; 89 scoped_ptr<crypto::AppleKeychain> keychain_;
89 scoped_ptr<LoginDatabase> login_metadata_db_; 90 scoped_ptr<LoginDatabase> login_metadata_db_;
90 91
91 // Thread that the synchronous methods are run on. 92 // Thread that the synchronous methods are run on.
92 scoped_ptr<base::Thread> thread_; 93 scoped_ptr<base::Thread> thread_;
93 94
94 DISALLOW_COPY_AND_ASSIGN(PasswordStoreMac); 95 DISALLOW_COPY_AND_ASSIGN(PasswordStoreMac);
95 }; 96 };
96 97
97 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_H_ 98 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_H_
OLDNEW
« no previous file with comments | « chrome/browser/password_manager/password_store_factory.cc ('k') | chrome/browser/password_manager/password_store_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698