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

Unified Diff: chrome/renderer/one_click_signin_agent.h

Issue 12086069: Enable Chrome Signin from Webstore (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 11 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: chrome/renderer/one_click_signin_agent.h
diff --git a/chrome/renderer/one_click_signin_agent.h b/chrome/renderer/one_click_signin_agent.h
new file mode 100644
index 0000000000000000000000000000000000000000..17cd0b7173dec62a73d48231e8c25757c6e9fd6c
--- /dev/null
+++ b/chrome/renderer/one_click_signin_agent.h
@@ -0,0 +1,25 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_RENDERER_ONE_CLICK_SIGNIN_AGENT_H_
+#define CHROME_RENDERER_ONE_CLICK_SIGNIN_AGENT_H_
+
+#include "content/public/renderer/render_view_observer.h"
+
+// OneClickSigninAgent deals with oneclick signin related communications between
+// the renderer and the browser. There is one OneClickSigninAgent per
+// RenderView.
+class OneClickSigninAgent : public content::RenderViewObserver {
+ public:
+ explicit OneClickSigninAgent(content::RenderView* render_view);
+ virtual ~OneClickSigninAgent();
+
+ private:
+ virtual void WillSubmitForm(WebKit::WebFrame* frame,
+ const WebKit::WebFormElement& form) OVERRIDE;
+
+ DISALLOW_COPY_AND_ASSIGN(OneClickSigninAgent);
+};
+
+#endif // CHROME_RENDERER_ONE_CLICK_SIGNIN_AGENT_H_

Powered by Google App Engine
This is Rietveld 408576698