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

Side by Side Diff: components/nacl/browser/nacl_broker_service_win.h

Issue 75463005: Move more files from chrome/browser/nacl_host/ to components/nacl/browser/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_NACL_HOST_NACL_BROKER_SERVICE_WIN_H_ 5 #ifndef COMPONENTS_NACL_BROWSER_NACL_BROKER_SERVICE_WIN_H_
6 #define CHROME_BROWSER_NACL_HOST_NACL_BROKER_SERVICE_WIN_H_ 6 #define COMPONENTS_NACL_BROWSER_NACL_BROKER_SERVICE_WIN_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/memory/singleton.h" 11 #include "base/memory/singleton.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "chrome/browser/nacl_host/nacl_broker_host_win.h" 13 #include "components/nacl/browser/nacl_broker_host_win.h"
14
15 namespace nacl {
14 16
15 class NaClProcessHost; 17 class NaClProcessHost;
16 18
17 class NaClBrokerService { 19 class NaClBrokerService {
18 public: 20 public:
19 // Returns the NaClBrokerService singleton. 21 // Returns the NaClBrokerService singleton.
20 static NaClBrokerService* GetInstance(); 22 static NaClBrokerService* GetInstance();
21 23
22 // Can be called several times, must be called before LaunchLoader. 24 // Can be called several times, must be called before LaunchLoader.
23 bool StartBroker(); 25 bool StartBroker();
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 58
57 NaClBrokerHost* GetBrokerHost(); 59 NaClBrokerHost* GetBrokerHost();
58 60
59 int loaders_running_; 61 int loaders_running_;
60 PendingLaunchesMap pending_launches_; 62 PendingLaunchesMap pending_launches_;
61 PendingDebugExceptionHandlersMap pending_debuggers_; 63 PendingDebugExceptionHandlersMap pending_debuggers_;
62 64
63 DISALLOW_COPY_AND_ASSIGN(NaClBrokerService); 65 DISALLOW_COPY_AND_ASSIGN(NaClBrokerService);
64 }; 66 };
65 67
66 #endif // CHROME_BROWSER_NACL_HOST_NACL_BROKER_SERVICE_WIN_H_ 68 } // namespace nacl
69
70 #endif // COMPONENTS_NACL_BROWSER_NACL_BROKER_SERVICE_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698