Chromium Code Reviews| Index: components/autofill/browser/autofill_driver.h |
| diff --git a/components/autofill/browser/autofill_driver.h b/components/autofill/browser/autofill_driver.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..06258822444593416ff6d269ecf6a732485aef5f |
| --- /dev/null |
| +++ b/components/autofill/browser/autofill_driver.h |
| @@ -0,0 +1,26 @@ |
| +// 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_BROWSER_AUTOFILL_DRIVER_H_ |
| +#define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_DRIVER_H_ |
| + |
| +namespace content { |
| +class WebContents; |
| +} |
| + |
| +namespace autofill { |
| + |
| +// Interface that provides access to the driver-level context in which Autofill |
| +// is operating. A concrete implementation must be provided by the driver. |
| +class AutofillDriver { |
| + public: |
| + virtual ~AutofillDriver() {} |
|
Ilya Sherman
2013/06/14 02:44:37
optional nit: IMO, it would be nice to leave a bla
blundell
2013/06/14 09:54:08
Done.
|
| + // TODO(blundell): Remove this method once shared code no longer needs to |
| + // know about WebContents. |
| + virtual content::WebContents* GetWebContents() = 0; |
| +}; |
| + |
| +} // namespace autofill |
| + |
| +#endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_DRIVER_H_ |