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

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

Issue 624173002: replace OVERRIDE and FINAL with override and final in chrome/browser/[j-q]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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 (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 21 matching lines...) Expand all
32 // non-NULL. 32 // non-NULL.
33 PasswordStoreMac( 33 PasswordStoreMac(
34 scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner, 34 scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner,
35 scoped_refptr<base::SingleThreadTaskRunner> db_thread_runner, 35 scoped_refptr<base::SingleThreadTaskRunner> db_thread_runner,
36 crypto::AppleKeychain* keychain, 36 crypto::AppleKeychain* keychain,
37 password_manager::LoginDatabase* login_db); 37 password_manager::LoginDatabase* login_db);
38 38
39 // Initializes |thread_|. 39 // Initializes |thread_|.
40 virtual bool Init( 40 virtual bool Init(
41 const syncer::SyncableService::StartSyncFlare& flare, 41 const syncer::SyncableService::StartSyncFlare& flare,
42 const std::string& sync_username) OVERRIDE; 42 const std::string& sync_username) override;
43 43
44 // Stops |thread_|. 44 // Stops |thread_|.
45 virtual void Shutdown() OVERRIDE; 45 virtual void Shutdown() override;
46 46
47 protected: 47 protected:
48 virtual ~PasswordStoreMac(); 48 virtual ~PasswordStoreMac();
49 49
50 virtual scoped_refptr<base::SingleThreadTaskRunner> 50 virtual scoped_refptr<base::SingleThreadTaskRunner>
51 GetBackgroundTaskRunner() OVERRIDE; 51 GetBackgroundTaskRunner() override;
52 52
53 private: 53 private:
54 virtual void ReportMetricsImpl(const std::string& sync_username) OVERRIDE; 54 virtual void ReportMetricsImpl(const std::string& sync_username) override;
55 virtual password_manager::PasswordStoreChangeList AddLoginImpl( 55 virtual password_manager::PasswordStoreChangeList AddLoginImpl(
56 const autofill::PasswordForm& form) OVERRIDE; 56 const autofill::PasswordForm& form) override;
57 virtual password_manager::PasswordStoreChangeList UpdateLoginImpl( 57 virtual password_manager::PasswordStoreChangeList UpdateLoginImpl(
58 const autofill::PasswordForm& form) OVERRIDE; 58 const autofill::PasswordForm& form) override;
59 virtual password_manager::PasswordStoreChangeList RemoveLoginImpl( 59 virtual password_manager::PasswordStoreChangeList RemoveLoginImpl(
60 const autofill::PasswordForm& form) OVERRIDE; 60 const autofill::PasswordForm& form) override;
61 virtual password_manager::PasswordStoreChangeList 61 virtual password_manager::PasswordStoreChangeList
62 RemoveLoginsCreatedBetweenImpl(base::Time delete_begin, 62 RemoveLoginsCreatedBetweenImpl(base::Time delete_begin,
63 base::Time delete_end) OVERRIDE; 63 base::Time delete_end) override;
64 virtual password_manager::PasswordStoreChangeList 64 virtual password_manager::PasswordStoreChangeList
65 RemoveLoginsSyncedBetweenImpl(base::Time delete_begin, 65 RemoveLoginsSyncedBetweenImpl(base::Time delete_begin,
66 base::Time delete_end) OVERRIDE; 66 base::Time delete_end) override;
67 virtual void GetLoginsImpl( 67 virtual void GetLoginsImpl(
68 const autofill::PasswordForm& form, 68 const autofill::PasswordForm& form,
69 AuthorizationPromptPolicy prompt_policy, 69 AuthorizationPromptPolicy prompt_policy,
70 const ConsumerCallbackRunner& callback_runner) OVERRIDE; 70 const ConsumerCallbackRunner& callback_runner) override;
71 virtual void GetAutofillableLoginsImpl(GetLoginsRequest* request) OVERRIDE; 71 virtual void GetAutofillableLoginsImpl(GetLoginsRequest* request) override;
72 virtual void GetBlacklistLoginsImpl(GetLoginsRequest* request) OVERRIDE; 72 virtual void GetBlacklistLoginsImpl(GetLoginsRequest* request) override;
73 virtual bool FillAutofillableLogins( 73 virtual bool FillAutofillableLogins(
74 std::vector<autofill::PasswordForm*>* forms) OVERRIDE; 74 std::vector<autofill::PasswordForm*>* forms) override;
75 virtual bool FillBlacklistLogins( 75 virtual bool FillBlacklistLogins(
76 std::vector<autofill::PasswordForm*>* forms) OVERRIDE; 76 std::vector<autofill::PasswordForm*>* forms) override;
77 77
78 // Adds the given form to the Keychain if it's something we want to store 78 // Adds the given form to the Keychain if it's something we want to store
79 // there (i.e., not a blacklist entry). Returns true if the operation 79 // there (i.e., not a blacklist entry). Returns true if the operation
80 // succeeded (either we added successfully, or we didn't need to). 80 // succeeded (either we added successfully, or we didn't need to).
81 bool AddToKeychainIfNecessary(const autofill::PasswordForm& form); 81 bool AddToKeychainIfNecessary(const autofill::PasswordForm& form);
82 82
83 // Returns true if our database contains a form that exactly matches the given 83 // Returns true if our database contains a form that exactly matches the given
84 // keychain form. 84 // keychain form.
85 bool DatabaseHasFormMatchingKeychainForm( 85 bool DatabaseHasFormMatchingKeychainForm(
86 const autofill::PasswordForm& form); 86 const autofill::PasswordForm& form);
(...skipping 14 matching lines...) Expand all
101 scoped_ptr<crypto::AppleKeychain> keychain_; 101 scoped_ptr<crypto::AppleKeychain> keychain_;
102 scoped_ptr<password_manager::LoginDatabase> login_metadata_db_; 102 scoped_ptr<password_manager::LoginDatabase> login_metadata_db_;
103 103
104 // Thread that the synchronous methods are run on. 104 // Thread that the synchronous methods are run on.
105 scoped_ptr<base::Thread> thread_; 105 scoped_ptr<base::Thread> thread_;
106 106
107 DISALLOW_COPY_AND_ASSIGN(PasswordStoreMac); 107 DISALLOW_COPY_AND_ASSIGN(PasswordStoreMac);
108 }; 108 };
109 109
110 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_H_ 110 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_H_
OLDNEW
« no previous file with comments | « chrome/browser/password_manager/password_store_factory.h ('k') | chrome/browser/password_manager/password_store_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698