| 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..15a6fa549fe793d3965bfb035643bce8f4daefb6
|
| --- /dev/null
|
| +++ b/components/autofill/browser/autofill_driver.h
|
| @@ -0,0 +1,27 @@
|
| +// 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() {}
|
| +
|
| + // 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_
|
|
|