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

Side by Side Diff: components/autofill/content/renderer/renderer_save_password_progress_logger.h

Issue 235623002: Password manager internals page: Improve security (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: innerHTML -> innerText Created 6 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 | Annotate | Revision Log
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_AUTOFILL_CONTENT_RENDERER_RENDERER_BROWSER_SAVE_PASSWORD_PROG RESS_LOGGER_H_ 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_RENDERER_BROWSER_SAVE_PASSWORD_PROG RESS_LOGGER_H_
6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_RENDERER_BROWSER_SAVE_PASSWORD_PROG RESS_LOGGER_H_ 6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_RENDERER_BROWSER_SAVE_PASSWORD_PROG RESS_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"
(...skipping 12 matching lines...) Expand all
23 : public autofill::SavePasswordProgressLogger { 23 : public autofill::SavePasswordProgressLogger {
24 public: 24 public:
25 // The logger will use |sender| and |routing_id| to send a 25 // The logger will use |sender| and |routing_id| to send a
26 // AutofillHostMsg_RecordSavePasswordProgress message with the logs to the 26 // AutofillHostMsg_RecordSavePasswordProgress message with the logs to the
27 // browser. 27 // browser.
28 RendererSavePasswordProgressLogger(IPC::Sender* sender, int routing_id); 28 RendererSavePasswordProgressLogger(IPC::Sender* sender, int routing_id);
29 virtual ~RendererSavePasswordProgressLogger(); 29 virtual ~RendererSavePasswordProgressLogger();
30 30
31 protected: 31 protected:
32 // SavePasswordProgressLogger: 32 // SavePasswordProgressLogger:
33 virtual void SendLog(const std::string& log) OVERRIDE; 33 virtual void SendLog(const std::vector<StructuredLog>& logs) OVERRIDE;
34 34
35 private: 35 private:
36 // Used by SendLog to send the IPC message with logs. |sender_| needs to 36 // Used by SendLog to send the IPC message with logs. |sender_| needs to
37 // outlive the logger. 37 // outlive the logger.
38 IPC::Sender* const sender_; 38 IPC::Sender* const sender_;
39 const int routing_id_; 39 const int routing_id_;
40 40
41 DISALLOW_COPY_AND_ASSIGN(RendererSavePasswordProgressLogger); 41 DISALLOW_COPY_AND_ASSIGN(RendererSavePasswordProgressLogger);
42 }; 42 };
43 43
44 } // namespace autofill 44 } // namespace autofill
45 45
46 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_RENDERER_BROWSER_SAVE_PASSWORD_P ROGRESS_LOGGER_H_ 46 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_RENDERER_BROWSER_SAVE_PASSWORD_P ROGRESS_LOGGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698