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

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

Issue 1100223002: Update {virtual,override} to follow C++11 style in chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 8 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_WIN_H_ 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_WIN_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_WIN_H_ 6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_WIN_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "components/password_manager/core/browser/password_store_default.h" 10 #include "components/password_manager/core/browser/password_store_default.h"
(...skipping 15 matching lines...) Expand all
26 // The |login_db| must not have been Init()-ed yet. It will be initialized in 26 // The |login_db| must not have been Init()-ed yet. It will be initialized in
27 // a deferred manner on the DB thread. The |web_data_service| is only used for 27 // a deferred manner on the DB thread. The |web_data_service| is only used for
28 // IE7 password fetching. 28 // IE7 password fetching.
29 PasswordStoreWin( 29 PasswordStoreWin(
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 scoped_ptr<password_manager::LoginDatabase> login_db, 32 scoped_ptr<password_manager::LoginDatabase> login_db,
33 const scoped_refptr<PasswordWebDataService>& web_data_service); 33 const scoped_refptr<PasswordWebDataService>& web_data_service);
34 34
35 // PasswordStore: 35 // PasswordStore:
36 virtual void Shutdown() override; 36 void Shutdown() override;
37 37
38 private: 38 private:
39 class DBHandler; 39 class DBHandler;
40 40
41 virtual ~PasswordStoreWin(); 41 virtual ~PasswordStoreWin();
42 42
43 // Invoked from Shutdown, but run on the DB thread. 43 // Invoked from Shutdown, but run on the DB thread.
44 void ShutdownOnDBThread(); 44 void ShutdownOnDBThread();
45 45
46 // password_manager::PasswordStore: 46 // password_manager::PasswordStore:
47 void GetLoginsImpl(const autofill::PasswordForm& form, 47 void GetLoginsImpl(const autofill::PasswordForm& form,
48 AuthorizationPromptPolicy prompt_policy, 48 AuthorizationPromptPolicy prompt_policy,
49 scoped_ptr<GetLoginsRequest> request) override; 49 scoped_ptr<GetLoginsRequest> request) override;
50 50
51 scoped_ptr<DBHandler> db_handler_; 51 scoped_ptr<DBHandler> db_handler_;
52 52
53 DISALLOW_COPY_AND_ASSIGN(PasswordStoreWin); 53 DISALLOW_COPY_AND_ASSIGN(PasswordStoreWin);
54 }; 54 };
55 55
56 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_WIN_H_ 56 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698