Chromium Code Reviews| 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 |
|
James Hawkins
2012/03/26 19:55:57
nit: Document the class.
benwells
2012/03/27 04:24:12
As this is all happening on the UI thread (for now
|
| + : public base::RefCountedThreadSafe<PlatformAppIntentDispatcher> { |
| + public: |
| + static void DispatchIntentData(ExtensionHost* host); |
|
James Hawkins
2012/03/26 19:55:57
nit: Document all methods and parameters.
benwells
2012/03/27 04:24:12
Done.
|
| + |
| + private: |
| + explicit PlatformAppIntentDispatcher(ExtensionHost* host); |
| + void DoDispatchIntentData(); |
| + |
| + ExtensionHost* host_; |
|
James Hawkins
2012/03/26 19:55:57
nit: Document member variable, especially ownershi
benwells
2012/03/27 04:24:12
The class is now removed.
|
| + |
| + DISALLOW_COPY_AND_ASSIGN(PlatformAppIntentDispatcher); |
| +}; |
| + |
| +} // namespace extensions |
|
James Hawkins
2012/03/26 19:55:57
nit: Two spaces before start of comment.
benwells
2012/03/27 04:24:12
Done.
|
| + |
| +#endif // CHROME_BROWSER_EXTENSIONS_PLATFORM_APP_INTENT_DISPATCHER_H_ |