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

Side by Side Diff: chrome/browser/intents/intent_service_host.h

Issue 11071005: Add native file picker impl using SelectFileDialog. (Closed) Base URL: http://git.chromium.org/chromium/src.git@filePicker
Patch Set: Don't use "DeleteService" as a method name since Windows munges it at compile time. Created 8 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/intents/native_services.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_INTENTS_INTENT_SERVICE_HOST_H_ 5 #ifndef CHROME_BROWSER_INTENTS_INTENT_SERVICE_HOST_H_
6 #define CHROME_BROWSER_INTENTS_INTENT_SERVICE_HOST_H_ 6 #define CHROME_BROWSER_INTENTS_INTENT_SERVICE_HOST_H_
7 7
8 class GURL; 8 class GURL;
9 9
10 namespace content { 10 namespace content {
11 class WebIntentsDispatcher; 11 class WebIntentsDispatcher;
12 } 12 }
13 13
14 namespace web_intents { 14 namespace web_intents {
15 15
16 // Interface allowing services to be implemented in various host environments. 16 // Interface allowing services to be implemented in various host environments.
17 // Implementations should be owned by their creator.
17 class IntentServiceHost { 18 class IntentServiceHost {
18 public: 19 public:
19 virtual ~IntentServiceHost() {} 20 virtual ~IntentServiceHost() {}
20 21
21 // Handle all necessary service-side processing of an intent. 22 // Handle all necessary service-side processing of an intent.
22 virtual void HandleIntent(content::WebIntentsDispatcher* dispatcher) = 0; 23 virtual void HandleIntent(content::WebIntentsDispatcher* dispatcher) = 0;
23 }; 24 };
24 25
25 } // web_intents namespaces 26 } // web_intents namespaces
26 27
27 #endif // CHROME_BROWSER_INTENTS_INTENT_SERVICE_HOST_H_ 28 #endif // CHROME_BROWSER_INTENTS_INTENT_SERVICE_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/intents/native_services.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698