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

Side by Side Diff: components/password_manager/content/renderer/credential_manager_client.h

Issue 616283002: Revert "Replace OVERRIDE with its C++11 counterpart in components/password_manager/" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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_CONTENT_RENDERER_CREDENTIAL_MANAGER_CLIENT_H _ 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CONTENT_RENDERER_CREDENTIAL_MANAGER_CLIENT_H _
6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_RENDERER_CREDENTIAL_MANAGER_CLIENT_H _ 6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_RENDERER_CREDENTIAL_MANAGER_CLIENT_H _
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/id_map.h" 10 #include "base/id_map.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 // Note that each RenderView's WebView holds a pointer to the 44 // Note that each RenderView's WebView holds a pointer to the
45 // CredentialManagerClient (set in 'OnRenderViewCreated()'). The client is 45 // CredentialManagerClient (set in 'OnRenderViewCreated()'). The client is
46 // guaranteed to outlive the views that point to it. 46 // guaranteed to outlive the views that point to it.
47 class CredentialManagerClient : public blink::WebCredentialManagerClient, 47 class CredentialManagerClient : public blink::WebCredentialManagerClient,
48 public content::RenderViewObserver { 48 public content::RenderViewObserver {
49 public: 49 public:
50 explicit CredentialManagerClient(content::RenderView* render_view); 50 explicit CredentialManagerClient(content::RenderView* render_view);
51 virtual ~CredentialManagerClient(); 51 virtual ~CredentialManagerClient();
52 52
53 // RenderViewObserver: 53 // RenderViewObserver:
54 virtual bool OnMessageReceived(const IPC::Message& message) override; 54 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
55 55
56 // Message handlers for messages from the browser process: 56 // Message handlers for messages from the browser process:
57 virtual void OnAcknowledgeFailedSignIn(int request_id); 57 virtual void OnAcknowledgeFailedSignIn(int request_id);
58 virtual void OnAcknowledgeSignedIn(int request_id); 58 virtual void OnAcknowledgeSignedIn(int request_id);
59 virtual void OnAcknowledgeSignedOut(int request_id); 59 virtual void OnAcknowledgeSignedOut(int request_id);
60 virtual void OnSendCredential(int request_id, 60 virtual void OnSendCredential(int request_id,
61 const CredentialInfo& credential_info); 61 const CredentialInfo& credential_info);
62 virtual void OnRejectCredentialRequest(int request_id); 62 virtual void OnRejectCredentialRequest(int request_id);
63 63
64 // blink::WebCredentialManager: 64 // blink::WebCredentialManager:
(...skipping 24 matching lines...) Expand all
89 NotificationCallbacksMap signed_in_callbacks_; 89 NotificationCallbacksMap signed_in_callbacks_;
90 NotificationCallbacksMap signed_out_callbacks_; 90 NotificationCallbacksMap signed_out_callbacks_;
91 RequestCallbacksMap request_callbacks_; 91 RequestCallbacksMap request_callbacks_;
92 92
93 DISALLOW_COPY_AND_ASSIGN(CredentialManagerClient); 93 DISALLOW_COPY_AND_ASSIGN(CredentialManagerClient);
94 }; 94 };
95 95
96 } // namespace password_manager 96 } // namespace password_manager
97 97
98 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_RENDERER_CREDENTIAL_MANAGER_CLIEN T_H_ 98 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_RENDERER_CREDENTIAL_MANAGER_CLIEN T_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698