Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: components/autofill/browser/autofill_driver.h

Issue 16286020: Abstract WebContentsObserver from Autofill shared code (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase to fix conflict Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698