| 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() {} | 
|  | 19 | 
|  | 20   // TODO(blundell): Remove this method once shared code no longer needs to | 
|  | 21   // know about WebContents. | 
|  | 22   virtual content::WebContents* GetWebContents() = 0; | 
|  | 23 }; | 
|  | 24 | 
|  | 25 }  // namespace autofill | 
|  | 26 | 
|  | 27 #endif  // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_DRIVER_H_ | 
| OLD | NEW | 
|---|