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

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

Issue 355143006: [Password Manager] Add UMA stats to track interaction with synced accounts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix tests Created 6 years, 5 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 // Stops |thread_|. 43 // Stops |thread_|.
44 virtual void Shutdown() OVERRIDE; 44 virtual void Shutdown() OVERRIDE;
45 45
46 protected: 46 protected:
47 virtual ~PasswordStoreMac(); 47 virtual ~PasswordStoreMac();
48 48
49 virtual scoped_refptr<base::SingleThreadTaskRunner> 49 virtual scoped_refptr<base::SingleThreadTaskRunner>
50 GetBackgroundTaskRunner() OVERRIDE; 50 GetBackgroundTaskRunner() OVERRIDE;
51 51
52 private: 52 private:
53 virtual void ReportMetricsImpl() OVERRIDE; 53 virtual void ReportMetricsImpl(const std::string& sync_username) OVERRIDE;
54 virtual password_manager::PasswordStoreChangeList AddLoginImpl( 54 virtual password_manager::PasswordStoreChangeList AddLoginImpl(
55 const autofill::PasswordForm& form) OVERRIDE; 55 const autofill::PasswordForm& form) OVERRIDE;
56 virtual password_manager::PasswordStoreChangeList UpdateLoginImpl( 56 virtual password_manager::PasswordStoreChangeList UpdateLoginImpl(
57 const autofill::PasswordForm& form) OVERRIDE; 57 const autofill::PasswordForm& form) OVERRIDE;
58 virtual password_manager::PasswordStoreChangeList RemoveLoginImpl( 58 virtual password_manager::PasswordStoreChangeList RemoveLoginImpl(
59 const autofill::PasswordForm& form) OVERRIDE; 59 const autofill::PasswordForm& form) OVERRIDE;
60 virtual password_manager::PasswordStoreChangeList 60 virtual password_manager::PasswordStoreChangeList
61 RemoveLoginsCreatedBetweenImpl(base::Time delete_begin, 61 RemoveLoginsCreatedBetweenImpl(base::Time delete_begin,
62 base::Time delete_end) OVERRIDE; 62 base::Time delete_end) OVERRIDE;
63 virtual password_manager::PasswordStoreChangeList 63 virtual password_manager::PasswordStoreChangeList
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 scoped_ptr<crypto::AppleKeychain> keychain_; 100 scoped_ptr<crypto::AppleKeychain> keychain_;
101 scoped_ptr<password_manager::LoginDatabase> login_metadata_db_; 101 scoped_ptr<password_manager::LoginDatabase> login_metadata_db_;
102 102
103 // Thread that the synchronous methods are run on. 103 // Thread that the synchronous methods are run on.
104 scoped_ptr<base::Thread> thread_; 104 scoped_ptr<base::Thread> thread_;
105 105
106 DISALLOW_COPY_AND_ASSIGN(PasswordStoreMac); 106 DISALLOW_COPY_AND_ASSIGN(PasswordStoreMac);
107 }; 107 };
108 108
109 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_H_ 109 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698