1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_RENDERER_ONE_CLICK_SIGNIN_AGENT_H_
6 #define CHROME_RENDERER_ONE_CLICK_SIGNIN_AGENT_H_
8 #include "content/public/renderer/render_view_observer.h"
10 // OneClickSigninAgent deals with oneclick signin related communications between
11 // the renderer and the browser. There is one OneClickSigninAgent per
13 class OneClickSigninAgent
: public content::RenderViewObserver
{
15 explicit OneClickSigninAgent(content::RenderView
* render_view
);
16 virtual ~OneClickSigninAgent();
19 virtual void WillSubmitForm(WebKit::WebFrame
* frame
,
20 const WebKit::WebFormElement
& form
) OVERRIDE
;
22 DISALLOW_COPY_AND_ASSIGN(OneClickSigninAgent
);
25 #endif // CHROME_RENDERER_ONE_CLICK_SIGNIN_AGENT_H_