OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_DRIVER_H_ | |
6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_DRIVER_H_ | |
7 | |
8 namespace content { | |
9 class WebContents; | |
10 } | |
11 | |
12 namespace autofill { | |
13 | |
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. | |
16 class AutofillDriver { | |
17 public: | |
18 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.
| |
19 // TODO(blundell): Remove this method once shared code no longer needs to | |
20 // know about WebContents. | |
21 virtual content::WebContents* GetWebContents() = 0; | |
22 }; | |
23 | |
24 } // namespace autofill | |
25 | |
26 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_DRIVER_H_ | |
OLD | NEW |