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

Side by Side Diff: third_party/WebKit/Source/modules/credentialmanager/CredentialManagerClient.cpp

Issue 2848243004: Clean up bindings/core/v8 (Part 2) (Closed)
Patch Set: Rebase Created 3 years, 7 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 #include "modules/credentialmanager/CredentialManagerClient.h" 5 #include "modules/credentialmanager/CredentialManagerClient.h"
6 6
7 #include "bindings/core/v8/ScriptState.h"
8 #include "core/dom/Document.h" 7 #include "core/dom/Document.h"
9 #include "core/dom/ExecutionContext.h" 8 #include "core/dom/ExecutionContext.h"
10 #include "core/page/Page.h" 9 #include "core/page/Page.h"
10 #include "platform/bindings/ScriptState.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 CredentialManagerClient::CredentialManagerClient( 14 CredentialManagerClient::CredentialManagerClient(
15 WebCredentialManagerClient* client) 15 WebCredentialManagerClient* client)
16 : client_(client) {} 16 : client_(client) {}
17 17
18 CredentialManagerClient::~CredentialManagerClient() {} 18 CredentialManagerClient::~CredentialManagerClient() {}
19 19
20 DEFINE_TRACE(CredentialManagerClient) { 20 DEFINE_TRACE(CredentialManagerClient) {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 bool include_passwords, 75 bool include_passwords,
76 const WebVector<WebURL>& federations, 76 const WebVector<WebURL>& federations,
77 WebCredentialManagerClient::RequestCallbacks* callbacks) { 77 WebCredentialManagerClient::RequestCallbacks* callbacks) {
78 if (!client_) 78 if (!client_)
79 return; 79 return;
80 client_->DispatchGet(zero_click_only, include_passwords, federations, 80 client_->DispatchGet(zero_click_only, include_passwords, federations,
81 callbacks); 81 callbacks);
82 } 82 }
83 83
84 } // namespace blink 84 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698