OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_CONTROLLER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/string16.h" | 14 #include "base/string16.h" |
15 #include "chrome/browser/common/web_contents_user_data.h" | 15 #include "chrome/browser/common/web_contents_user_data.h" |
16 #include "chrome/browser/extensions/webstore_installer.h" | 16 #include "chrome/browser/extensions/webstore_installer.h" |
17 #include "chrome/browser/favicon/favicon_service.h" | 17 #include "chrome/browser/favicon/favicon_service.h" |
18 #include "chrome/browser/intents/cws_intents_registry.h" | 18 #include "chrome/browser/intents/cws_intents_registry.h" |
19 #include "chrome/browser/intents/web_intents_registry.h" | 19 #include "chrome/browser/intents/web_intents_registry.h" |
20 #include "chrome/browser/intents/web_intents_reporting.h" | 20 #include "chrome/browser/intents/web_intents_reporting.h" |
21 #include "chrome/browser/ui/intents/web_intent_picker_delegate.h" | 21 #include "chrome/browser/ui/intents/web_intent_picker_delegate.h" |
| 22 #include "content/public/browser/download_id.h" |
22 #include "content/public/browser/notification_observer.h" | 23 #include "content/public/browser/notification_observer.h" |
23 #include "content/public/browser/notification_registrar.h" | 24 #include "content/public/browser/notification_registrar.h" |
24 #include "webkit/glue/web_intent_data.h" | 25 #include "webkit/glue/web_intent_data.h" |
25 #include "webkit/glue/web_intent_reply_data.h" | 26 #include "webkit/glue/web_intent_reply_data.h" |
26 #include "webkit/glue/web_intent_service_data.h" | 27 #include "webkit/glue/web_intent_service_data.h" |
27 | 28 |
28 class Browser; | 29 class Browser; |
29 struct DefaultWebIntentService; | 30 struct DefaultWebIntentService; |
30 class GURL; | 31 class GURL; |
31 class Profile; | 32 class Profile; |
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 // Factory used to obtain instance of native services. | 363 // Factory used to obtain instance of native services. |
363 scoped_ptr<web_intents::NativeServiceFactory> native_services_; | 364 scoped_ptr<web_intents::NativeServiceFactory> native_services_; |
364 | 365 |
365 // The ID of a pending extension download. | 366 // The ID of a pending extension download. |
366 content::DownloadId download_id_; | 367 content::DownloadId download_id_; |
367 | 368 |
368 DISALLOW_COPY_AND_ASSIGN(WebIntentPickerController); | 369 DISALLOW_COPY_AND_ASSIGN(WebIntentPickerController); |
369 }; | 370 }; |
370 | 371 |
371 #endif // CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_CONTROLLER_H_ | 372 #endif // CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_CONTROLLER_H_ |
OLD | NEW |