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

Side by Side Diff: components/nacl/common/nacl_paths.cc

Issue 16881004: Move chrome/nacl to components/nacl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Create a zygote folder Created 7 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
« no previous file with comments | « components/nacl/common/nacl_paths.h ('k') | components/nacl/common/nacl_sandbox_type_mac.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 2013 The Chromium Authors. All rights reserved. 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 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 #include "chrome/common/nacl_paths.h" 5 #include "components/nacl/common/nacl_paths.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 9
10 namespace { 10 namespace {
11 11
12 #if defined(OS_POSIX) && !defined(OS_MACOSX) 12 #if defined(OS_POSIX) && !defined(OS_MACOSX)
13 // File name of the nacl_helper and nacl_helper_bootstrap, Linux only. 13 // File name of the nacl_helper and nacl_helper_bootstrap, Linux only.
14 const base::FilePath::CharType kInternalNaClHelperFileName[] = 14 const base::FilePath::CharType kInternalNaClHelperFileName[] =
15 FILE_PATH_LITERAL("nacl_helper"); 15 FILE_PATH_LITERAL("nacl_helper");
(...skipping 27 matching lines...) Expand all
43 *result = cur; 43 *result = cur;
44 return true; 44 return true;
45 } 45 }
46 46
47 // This cannot be done as a static initializer sadly since Visual Studio will 47 // This cannot be done as a static initializer sadly since Visual Studio will
48 // eliminate this object file if there is no direct entry point into it. 48 // eliminate this object file if there is no direct entry point into it.
49 void RegisterPathProvider() { 49 void RegisterPathProvider() {
50 PathService::RegisterProvider(PathProvider, PATH_START, PATH_END); 50 PathService::RegisterProvider(PathProvider, PATH_START, PATH_END);
51 } 51 }
52 52
53 } // namespace nacl 53 } // namespace chrome
OLDNEW
« no previous file with comments | « components/nacl/common/nacl_paths.h ('k') | components/nacl/common/nacl_sandbox_type_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698