Chromium Code Reviews| 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 | |
|
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
| |
| 16 : public base::RefCountedThreadSafe<PlatformAppIntentDispatcher> { | |
| 17 public: | |
| 18 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.
| |
| 19 | |
| 20 private: | |
| 21 explicit PlatformAppIntentDispatcher(ExtensionHost* host); | |
| 22 void DoDispatchIntentData(); | |
| 23 | |
| 24 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.
| |
| 25 | |
| 26 DISALLOW_COPY_AND_ASSIGN(PlatformAppIntentDispatcher); | |
| 27 }; | |
| 28 | |
| 29 } // 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.
| |
| 30 | |
| 31 #endif // CHROME_BROWSER_EXTENSIONS_PLATFORM_APP_INTENT_DISPATCHER_H_ | |
| OLD | NEW |