| Index: chrome/browser/intents/native_services.h
|
| diff --git a/chrome/browser/intents/native_services.h b/chrome/browser/intents/native_services.h
|
| index 12846a163955f43be2468d4623f3960a7bf6ffb4..418edffedeab003f85798abfb65cd32cb8d071be 100644
|
| --- a/chrome/browser/intents/native_services.h
|
| +++ b/chrome/browser/intents/native_services.h
|
| @@ -12,6 +12,7 @@
|
| class GURL;
|
|
|
| namespace content {
|
| +class WebContents;
|
| class WebIntentsDispatcher;
|
| }
|
|
|
| @@ -29,7 +30,6 @@ extern const char kNativeFilePickerUrl[];
|
|
|
| typedef std::vector<webkit_glue::WebIntentServiceData> IntentServiceList;
|
|
|
| -#if defined(TOOLKIT_VIEWS)
|
| // Factory capable of producing a file picker NativeService.
|
| class FilePickerFactory {
|
| public:
|
| @@ -38,10 +38,11 @@ class FilePickerFactory {
|
|
|
| // Returns a new instance of FilePickerService.
|
| static IntentServiceHost* CreateServiceInstance(
|
| + content::WebContents* web_contents,
|
| const webkit_glue::WebIntentData& intent);
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(FilePickerFactory);
|
| };
|
| -#endif
|
|
|
| class NativeServiceRegistry {
|
| public:
|
| @@ -50,6 +51,7 @@ class NativeServiceRegistry {
|
| void GetSupportedServices(
|
| const string16& action,
|
| IntentServiceList* services);
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(NativeServiceRegistry);
|
| };
|
|
|
| @@ -60,7 +62,9 @@ class NativeServiceFactory {
|
| // |intent|.
|
| IntentServiceHost* CreateServiceInstance(
|
| const GURL& url,
|
| - const webkit_glue::WebIntentData& intent);
|
| + const webkit_glue::WebIntentData& intent,
|
| + content::WebContents* web_contents);
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(NativeServiceFactory);
|
| };
|
|
|
|
|