| 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_EXTENSIONS_PLATFORM_APP_INTENT_DISPATCHER_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_PLATFORM_APP_INTENT_DISPATCHER_H_ |
| 7 #pragma once |
| 8 |
| 9 #include "base/memory/ref_counted.h" |
| 10 |
| 11 class ExtensionHost; |
| 12 |
| 13 namespace extensions { |
| 14 |
| 15 class PlatformAppIntentDispatcher |
| 16 : public base::RefCountedThreadSafe<PlatformAppIntentDispatcher> { |
| 17 public: |
| 18 static void DispatchIntentData(ExtensionHost* host); |
| 19 |
| 20 private: |
| 21 explicit PlatformAppIntentDispatcher(ExtensionHost* host); |
| 22 void DoDispatchIntentData(); |
| 23 |
| 24 ExtensionHost* host_; |
| 25 |
| 26 DISALLOW_COPY_AND_ASSIGN(PlatformAppIntentDispatcher); |
| 27 }; |
| 28 |
| 29 } // namespace extensions |
| 30 |
| 31 #endif // CHROME_BROWSER_EXTENSIONS_PLATFORM_APP_INTENT_DISPATCHER_H_ |
| OLD | NEW |