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

Side by Side Diff: sandbox/win/src/sandbox_factory.h

Issue 10689170: Move the Windows sandbox to sandbox/win (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase on top of tree (properly this time) Created 8 years, 5 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
« no previous file with comments | « sandbox/win/src/sandbox.vcproj ('k') | sandbox/win/src/sandbox_nt_types.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 SANDBOX_SRC_SANDBOX_FACTORY_H__ 5 #ifndef SANDBOX_SRC_SANDBOX_FACTORY_H__
6 #define SANDBOX_SRC_SANDBOX_FACTORY_H__ 6 #define SANDBOX_SRC_SANDBOX_FACTORY_H__
7 7
8 #include "sandbox/src/sandbox.h" 8 #include "sandbox/win/src/sandbox.h"
9 9
10 // SandboxFactory is a set of static methods to get access to the broker 10 // SandboxFactory is a set of static methods to get access to the broker
11 // or target services object. Only one of the two methods (GetBrokerServices, 11 // or target services object. Only one of the two methods (GetBrokerServices,
12 // GetTargetServices) will return a non-null pointer and that should be used 12 // GetTargetServices) will return a non-null pointer and that should be used
13 // as the indication that the process is the broker or the target: 13 // as the indication that the process is the broker or the target:
14 // 14 //
15 // BrokerServices* broker_services = SandboxFactory::GetBrokerServices(); 15 // BrokerServices* broker_services = SandboxFactory::GetBrokerServices();
16 // if (NULL != broker_services) { 16 // if (NULL != broker_services) {
17 // //we are the broker, call broker api here 17 // //we are the broker, call broker api here
18 // broker_services->Init(); 18 // broker_services->Init();
(...skipping 22 matching lines...) Expand all
41 // Returns the Target API interface, returns NULL if this process is the 41 // Returns the Target API interface, returns NULL if this process is the
42 // broker. 42 // broker.
43 static TargetServices* GetTargetServices(); 43 static TargetServices* GetTargetServices();
44 private: 44 private:
45 DISALLOW_IMPLICIT_CONSTRUCTORS(SandboxFactory); 45 DISALLOW_IMPLICIT_CONSTRUCTORS(SandboxFactory);
46 }; 46 };
47 47
48 } // namespace sandbox 48 } // namespace sandbox
49 49
50 #endif // SANDBOX_SRC_SANDBOX_FACTORY_H__ 50 #endif // SANDBOX_SRC_SANDBOX_FACTORY_H__
OLDNEW
« no previous file with comments | « sandbox/win/src/sandbox.vcproj ('k') | sandbox/win/src/sandbox_nt_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698