summaryrefslogtreecommitdiff
path: root/chromium/components/autofill/core/browser/autofill_driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/autofill/core/browser/autofill_driver.h')
-rw-r--r--chromium/components/autofill/core/browser/autofill_driver.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/chromium/components/autofill/core/browser/autofill_driver.h b/chromium/components/autofill/core/browser/autofill_driver.h
index 2ed290d3321..5e71f95ce25 100644
--- a/chromium/components/autofill/core/browser/autofill_driver.h
+++ b/chromium/components/autofill/core/browser/autofill_driver.h
@@ -7,12 +7,17 @@
#include <vector>
+#include "base/memory/scoped_refptr.h"
#include "components/autofill/core/common/form_data.h"
namespace net {
class URLRequestContextGetter;
}
+namespace network {
+class SharedURLLoaderFactory;
+}
+
namespace gfx {
class RectF;
}
@@ -42,6 +47,10 @@ class AutofillDriver {
// Returns the URL request context information associated with this driver.
virtual net::URLRequestContextGetter* GetURLRequestContext() = 0;
+ // Returns the URL loader factory associated with this driver.
+ virtual scoped_refptr<network::SharedURLLoaderFactory>
+ GetURLLoaderFactory() = 0;
+
// Returns true iff the renderer is available for communication.
virtual bool RendererIsAvailable() = 0;