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

Side by Side Diff: chrome/browser/web_applications/app_shim_host_controller.h

Issue 12623005: [mac] App shims (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2013 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_WEB_APPLICATIONS_APP_SHIM_HOST_CONTROLLER_H_
6 #define CHROME_BROWSER_WEB_APPLICATIONS_APP_SHIM_HOST_CONTROLLER_H_
7
8 #include "base/mac/scoped_cftyperef.h"
9 #include "base/memory/weak_ptr.h"
10 #include "base/threading/thread.h"
11 #include "ipc/ipc_channel_factory.h"
12
13 // singleton
Mark Mentovai 2013/03/08 16:50:17 You’re gonna need more docs than this.
jeremya 2013/03/11 02:47:33 I've always liked concise documentation ;)
14 class AppShimHostController
15 : public IPC::ChannelFactory::Delegate,
16 public base::SupportsWeakPtr<AppShimHostController> {
17 public:
18 AppShimHostController();
19 virtual ~AppShimHostController();
20
21 private:
22 virtual void OnClientConnected(const IPC::ChannelHandle& handle) OVERRIDE;
23 virtual void OnListenError() OVERRIDE {}
24
25 void InitOnFile();
Mark Mentovai 2013/03/08 16:50:17 InitOnFile’s a funny name because (1) there is no
jeremya 2013/03/11 02:47:33 InitOnFileThread make more sense? :)
Mark Mentovai 2013/03/11 12:40:37 jeremya wrote:
26 void ListenOnIO();
27
28 IPC::ChannelFactory* factory_;
29 };
30
31 #endif // CHROME_BROWSER_WEB_APPLICATIONS_APP_SHIM_HOST_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698