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

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

Issue 2034153002: Makes RenderFrameObserver/RenderViewObserver::OnDestruct pure virtual. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments. Created 4 years, 6 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/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "components/password_manager/content/public/interfaces/credential_manag er.mojom.h" 10 #include "components/password_manager/content/public/interfaces/credential_manag er.mojom.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 void dispatchStore( 48 void dispatchStore(
49 const blink::WebCredential& credential, 49 const blink::WebCredential& credential,
50 WebCredentialManagerClient::NotificationCallbacks* callbacks) override; 50 WebCredentialManagerClient::NotificationCallbacks* callbacks) override;
51 void dispatchRequireUserMediation(NotificationCallbacks* callbacks) override; 51 void dispatchRequireUserMediation(NotificationCallbacks* callbacks) override;
52 void dispatchGet(bool zero_click_only, 52 void dispatchGet(bool zero_click_only,
53 bool include_passwords, 53 bool include_passwords,
54 const blink::WebVector<blink::WebURL>& federations, 54 const blink::WebVector<blink::WebURL>& federations,
55 RequestCallbacks* callbacks) override; 55 RequestCallbacks* callbacks) override;
56 56
57 private: 57 private:
58 // RenderViewObserver implementation.
59 void OnDestruct() override;
60
58 void ConnectToMojoCMIfNeeded(); 61 void ConnectToMojoCMIfNeeded();
59 62
60 mojom::CredentialManagerPtr mojo_cm_service_; 63 mojom::CredentialManagerPtr mojo_cm_service_;
61 64
62 DISALLOW_COPY_AND_ASSIGN(CredentialManagerClient); 65 DISALLOW_COPY_AND_ASSIGN(CredentialManagerClient);
63 }; 66 };
64 67
65 } // namespace password_manager 68 } // namespace password_manager
66 69
67 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_RENDERER_CREDENTIAL_MANAGER_CLIEN T_H_ 70 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_RENDERER_CREDENTIAL_MANAGER_CLIEN T_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698