| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_INTENTS_INTENT_SERVICE_HOST_H_ | |
| 6 #define CHROME_BROWSER_INTENTS_INTENT_SERVICE_HOST_H_ | |
| 7 | |
| 8 class GURL; | |
| 9 | |
| 10 namespace content { | |
| 11 class WebIntentsDispatcher; | |
| 12 } | |
| 13 | |
| 14 namespace web_intents { | |
| 15 | |
| 16 // Interface allowing services to be implemented in various host environments. | |
| 17 class IntentServiceHost { | |
| 18 public: | |
| 19 virtual ~IntentServiceHost() {} | |
| 20 | |
| 21 // Handle all necessary service-side processing of an intent. A service | |
| 22 // can reply to the intent via |dispatcher|. | |
| 23 virtual void HandleIntent(content::WebIntentsDispatcher* dispatcher) = 0; | |
| 24 }; | |
| 25 | |
| 26 } // namespace web_intents | |
| 27 | |
| 28 #endif // CHROME_BROWSER_INTENTS_INTENT_SERVICE_HOST_H_ | |
| OLD | NEW |