| Index: chrome/browser/extensions/platform_app_intent_dispatcher.h
|
| diff --git a/chrome/browser/extensions/platform_app_intent_dispatcher.h b/chrome/browser/extensions/platform_app_intent_dispatcher.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..46e4910d692513822722d0011bfd8de48d96f605
|
| --- /dev/null
|
| +++ b/chrome/browser/extensions/platform_app_intent_dispatcher.h
|
| @@ -0,0 +1,31 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_EXTENSIONS_PLATFORM_APP_INTENT_DISPATCHER_H_
|
| +#define CHROME_BROWSER_EXTENSIONS_PLATFORM_APP_INTENT_DISPATCHER_H_
|
| +#pragma once
|
| +
|
| +#include "base/memory/ref_counted.h"
|
| +
|
| +class ExtensionHost;
|
| +
|
| +namespace extensions {
|
| +
|
| +class PlatformAppIntentDispatcher
|
| + : public base::RefCountedThreadSafe<PlatformAppIntentDispatcher> {
|
| + public:
|
| + static void DispatchIntentData(ExtensionHost* host);
|
| +
|
| + private:
|
| + explicit PlatformAppIntentDispatcher(ExtensionHost* host);
|
| + void DoDispatchIntentData();
|
| +
|
| + ExtensionHost* host_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(PlatformAppIntentDispatcher);
|
| +};
|
| +
|
| +} // namespace extensions
|
| +
|
| +#endif // CHROME_BROWSER_EXTENSIONS_PLATFORM_APP_INTENT_DISPATCHER_H_
|
|
|