Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Side by Side Diff: chrome/browser/extensions/platform_app_intent_dispatcher.h

Issue 9845003: Pass command line arguments onto platform apps which provide the right intent. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Use ScopedAllowIO to avoid race, don't check file existence, windows compile fix Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698