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

Side by Side Diff: components/password_manager/core/browser/browser_save_password_progress_logger.h

Issue 611383002: Replace OVERRIDE with its C++11 counterpart in components/password_manager/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_BROWSER_SAVE_PASSWORD_PROGRESS_ LOGGER_H_ 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_BROWSER_SAVE_PASSWORD_PROGRESS_ LOGGER_H_
6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_BROWSER_SAVE_PASSWORD_PROGRESS_ LOGGER_H_ 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_BROWSER_SAVE_PASSWORD_PROGRESS_ LOGGER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "components/autofill/core/common/save_password_progress_logger.h" 10 #include "components/autofill/core/common/save_password_progress_logger.h"
11 11
12 namespace password_manager { 12 namespace password_manager {
13 13
14 class PasswordManagerClient; 14 class PasswordManagerClient;
15 15
16 // This is the SavePasswordProgressLogger specialization for the browser code, 16 // This is the SavePasswordProgressLogger specialization for the browser code,
17 // where the PasswordManagerClient can be directly called. 17 // where the PasswordManagerClient can be directly called.
18 class BrowserSavePasswordProgressLogger 18 class BrowserSavePasswordProgressLogger
19 : public autofill::SavePasswordProgressLogger { 19 : public autofill::SavePasswordProgressLogger {
20 public: 20 public:
21 explicit BrowserSavePasswordProgressLogger(PasswordManagerClient* client); 21 explicit BrowserSavePasswordProgressLogger(PasswordManagerClient* client);
22 virtual ~BrowserSavePasswordProgressLogger(); 22 virtual ~BrowserSavePasswordProgressLogger();
23 23
24 protected: 24 protected:
25 // autofill::SavePasswordProgressLogger: 25 // autofill::SavePasswordProgressLogger:
26 virtual void SendLog(const std::string& log) OVERRIDE; 26 virtual void SendLog(const std::string& log) override;
27 27
28 private: 28 private:
29 // The PasswordManagerClient to which logs can be sent for display. The client 29 // The PasswordManagerClient to which logs can be sent for display. The client
30 // must outlive this logger. 30 // must outlive this logger.
31 PasswordManagerClient* const client_; 31 PasswordManagerClient* const client_;
32 32
33 DISALLOW_COPY_AND_ASSIGN(BrowserSavePasswordProgressLogger); 33 DISALLOW_COPY_AND_ASSIGN(BrowserSavePasswordProgressLogger);
34 }; 34 };
35 35
36 } // namespace password_manager 36 } // namespace password_manager
37 37
38 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_BROWSER_SAVE_PASSWORD_PROGRE SS_LOGGER_H_ 38 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_BROWSER_SAVE_PASSWORD_PROGRE SS_LOGGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698