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

Side by Side Diff: chrome/common/nacl_paths.h

Issue 17198013: Don't use PathService for the location of nacl_helper and nacl_helper_bootstrap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 6 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) 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_COMMON_NACL_PATHS_H_
6 #define CHROME_COMMON_NACL_PATHS_H_
7
8 #include "build/build_config.h"
9
10 // This file declares path keys for the chrome module. These can be used with
11 // the PathService to access various special directories and files.
12
13 namespace nacl {
14
15 enum {
16 PATH_START = 9000,
Mark Seaborn 2013/06/21 13:53:26 Where does 9000 come from? What stops this from c
17
18 #if defined(OS_POSIX) && !defined(OS_MACOSX)
Mark Seaborn 2013/06/21 13:53:26 Better to use OS_LINUX here too
19 FILE_NACL_HELPER = PATH_START, // Full path to Linux nacl_helper executable.
20 FILE_NACL_HELPER_BOOTSTRAP, // ... and nacl_helper_bootstrap executable.
21 #endif
22
23 PATH_END
24 };
25
26 // Call once to register the provider for the path keys defined above.
27 void RegisterPathProvider();
28
29 } // namespace nacl
30
31 #endif // CHROME_COMMON_NACL_PATHS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698