Suppression for crbug/241044.
[chromium-blink-merge.git] / chrome / renderer / one_click_signin_agent.h
blob17cd0b7173dec62a73d48231e8c25757c6e9fd6c
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
12 // RenderView.
13 class OneClickSigninAgent : public content::RenderViewObserver {
14 public:
15 explicit OneClickSigninAgent(content::RenderView* render_view);
16 virtual ~OneClickSigninAgent();
18 private:
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_