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

Unified Diff: Source/modules/credentialmanager/CredentialManagerClient.h

Issue 573663002: Credential Manager: Wire up the client. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Oops. Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: Source/modules/credentialmanager/CredentialManagerClient.h
diff --git a/Source/modules/credentialmanager/CredentialManagerClient.h b/Source/modules/credentialmanager/CredentialManagerClient.h
index 4cc652c4e6261d5386f9182cccd65e3c9188a158..a53dc57179b906a642dad7dc55c90bb9361cc50f 100644
--- a/Source/modules/credentialmanager/CredentialManagerClient.h
+++ b/Source/modules/credentialmanager/CredentialManagerClient.h
@@ -13,6 +13,7 @@ namespace blink {
class KURL;
class Page;
+class ScriptState;
class WebCredential;
class WebURL;
@@ -26,6 +27,7 @@ public:
static const char* supplementName();
static CredentialManagerClient* from(Page*);
+ static CredentialManagerClient* from(ScriptState*);
sof 2014/09/15 07:57:17 I think I would prefer it if we kept this free of
Mike West 2014/09/16 07:53:20 How about we compromise, and keep ScriptState out
Mike West 2014/09/16 07:53:20 Eh. Ended up rewriting most of this anyway. :)
sof 2014/09/16 12:36:11 thanks, that works for me
// Ownership of the callback is transferred to the callee for each of
// the following methods.

Powered by Google App Engine
This is Rietveld 408576698