OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_DRIVER_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DRIVER_H_ |
6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_DRIVER_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DRIVER_H_ |
7 | 7 |
8 namespace content { | 8 namespace content { |
9 class WebContents; | 9 class WebContents; |
10 } | 10 } |
11 | 11 |
12 namespace autofill { | 12 namespace autofill { |
13 | 13 |
14 // Interface that provides access to the driver-level context in which Autofill | 14 // Interface that provides access to the driver-level context in which Autofill |
15 // is operating. A concrete implementation must be provided by the driver. | 15 // is operating. A concrete implementation must be provided by the driver. |
16 class AutofillDriver { | 16 class AutofillDriver { |
17 public: | 17 public: |
18 virtual ~AutofillDriver() {} | 18 virtual ~AutofillDriver() {} |
19 | 19 |
20 // TODO(blundell): Remove this method once shared code no longer needs to | 20 // TODO(blundell): Remove this method once shared code no longer needs to |
21 // know about WebContents. | 21 // know about WebContents. |
22 virtual content::WebContents* GetWebContents() = 0; | 22 virtual content::WebContents* GetWebContents() = 0; |
23 }; | 23 }; |
24 | 24 |
25 } // namespace autofill | 25 } // namespace autofill |
26 | 26 |
27 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_DRIVER_H_ | 27 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DRIVER_H_ |
OLD | NEW |