root/components/autofill/content/renderer/test_password_autofill_agent.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


// Copyright 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 COMPONENTS_AUTOFILL_CONTENT_RENDERER_TEST_PASSWORD_AUTOFILL_AGENT_H_
#define COMPONENTS_AUTOFILL_CONTENT_RENDERER_TEST_PASSWORD_AUTOFILL_AGENT_H_

#include "components/autofill/content/renderer/password_autofill_agent.h"

namespace autofill {

class TestPasswordAutofillAgent : public PasswordAutofillAgent {
 public:
  explicit TestPasswordAutofillAgent(content::RenderView* render_view);
  virtual ~TestPasswordAutofillAgent();

 private:
  // Always returns true. This allows browser tests with "data: " URL scheme to
  // work with the password manager.
  // PasswordAutofillAgent:
  virtual bool OriginCanAccessPasswordManager(
      const blink::WebSecurityOrigin& origin) OVERRIDE;
};

}  // namespace autofill

#endif  // COMPONENTS_AUTOFILL_CONTENT_RENDERER_TEST_PASSWORD_AUTOFILL_AGENT_H_

/* [<][>][^][v][top][bottom][index][help] */