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

Side by Side Diff: chrome/browser/password_manager/password_store_x.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_X_H_ 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_X_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_X_H_ 6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_X_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 password_manager::LoginDatabase* login_db, 72 password_manager::LoginDatabase* login_db,
73 NativeBackend* backend); 73 NativeBackend* backend);
74 74
75 private: 75 private:
76 friend class PasswordStoreXTest; 76 friend class PasswordStoreXTest;
77 77
78 virtual ~PasswordStoreX(); 78 virtual ~PasswordStoreX();
79 79
80 // Implements PasswordStore interface. 80 // Implements PasswordStore interface.
81 virtual password_manager::PasswordStoreChangeList AddLoginImpl( 81 virtual password_manager::PasswordStoreChangeList AddLoginImpl(
82 const autofill::PasswordForm& form) OVERRIDE; 82 const autofill::PasswordForm& form) override;
83 virtual password_manager::PasswordStoreChangeList UpdateLoginImpl( 83 virtual password_manager::PasswordStoreChangeList UpdateLoginImpl(
84 const autofill::PasswordForm& form) OVERRIDE; 84 const autofill::PasswordForm& form) override;
85 virtual password_manager::PasswordStoreChangeList RemoveLoginImpl( 85 virtual password_manager::PasswordStoreChangeList RemoveLoginImpl(
86 const autofill::PasswordForm& form) OVERRIDE; 86 const autofill::PasswordForm& form) override;
87 virtual password_manager::PasswordStoreChangeList 87 virtual password_manager::PasswordStoreChangeList
88 RemoveLoginsCreatedBetweenImpl(base::Time delete_begin, 88 RemoveLoginsCreatedBetweenImpl(base::Time delete_begin,
89 base::Time delete_end) OVERRIDE; 89 base::Time delete_end) override;
90 virtual password_manager::PasswordStoreChangeList 90 virtual password_manager::PasswordStoreChangeList
91 RemoveLoginsSyncedBetweenImpl(base::Time delete_begin, 91 RemoveLoginsSyncedBetweenImpl(base::Time delete_begin,
92 base::Time delete_end) OVERRIDE; 92 base::Time delete_end) override;
93 virtual void GetLoginsImpl( 93 virtual void GetLoginsImpl(
94 const autofill::PasswordForm& form, 94 const autofill::PasswordForm& form,
95 AuthorizationPromptPolicy prompt_policy, 95 AuthorizationPromptPolicy prompt_policy,
96 const ConsumerCallbackRunner& callback_runner) OVERRIDE; 96 const ConsumerCallbackRunner& callback_runner) override;
97 virtual void GetAutofillableLoginsImpl(GetLoginsRequest* request) OVERRIDE; 97 virtual void GetAutofillableLoginsImpl(GetLoginsRequest* request) override;
98 virtual void GetBlacklistLoginsImpl(GetLoginsRequest* request) OVERRIDE; 98 virtual void GetBlacklistLoginsImpl(GetLoginsRequest* request) override;
99 virtual bool FillAutofillableLogins( 99 virtual bool FillAutofillableLogins(
100 std::vector<autofill::PasswordForm*>* forms) OVERRIDE; 100 std::vector<autofill::PasswordForm*>* forms) override;
101 virtual bool FillBlacklistLogins( 101 virtual bool FillBlacklistLogins(
102 std::vector<autofill::PasswordForm*>* forms) OVERRIDE; 102 std::vector<autofill::PasswordForm*>* forms) override;
103 103
104 // Sort logins by origin, like the ORDER BY clause in login_database.cc. 104 // Sort logins by origin, like the ORDER BY clause in login_database.cc.
105 void SortLoginsByOrigin(NativeBackend::PasswordFormList* list); 105 void SortLoginsByOrigin(NativeBackend::PasswordFormList* list);
106 106
107 // Check to see whether migration is necessary, and perform it if so. 107 // Check to see whether migration is necessary, and perform it if so.
108 void CheckMigration(); 108 void CheckMigration();
109 109
110 // Return true if we should try using the native backend. 110 // Return true if we should try using the native backend.
111 bool use_native_backend() { return !!backend_.get(); } 111 bool use_native_backend() { return !!backend_.get(); }
112 112
(...skipping 14 matching lines...) Expand all
127 // Whether we should allow falling back to the default store. If there is 127 // Whether we should allow falling back to the default store. If there is
128 // nothing to migrate, then the first attempt to use the native store will 128 // nothing to migrate, then the first attempt to use the native store will
129 // be the first time we try to use it and we should allow falling back. If 129 // be the first time we try to use it and we should allow falling back. If
130 // we have migrated successfully, then we do not allow falling back. 130 // we have migrated successfully, then we do not allow falling back.
131 bool allow_fallback_; 131 bool allow_fallback_;
132 132
133 DISALLOW_COPY_AND_ASSIGN(PasswordStoreX); 133 DISALLOW_COPY_AND_ASSIGN(PasswordStoreX);
134 }; 134 };
135 135
136 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_X_H_ 136 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_X_H_
OLDNEW
« no previous file with comments | « chrome/browser/password_manager/password_store_win.cc ('k') | chrome/browser/password_manager/password_store_x_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698