OLD | NEW |
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 #include "chrome/common/chrome_paths_internal.h" | 5 #include "chrome/common/chrome_paths_internal.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
8 #include <knownfolders.h> | 8 #include <knownfolders.h> |
9 #include <shellapi.h> | 9 #include <shellapi.h> |
10 #include <shlobj.h> | 10 #include <shlobj.h> |
11 #include <shobjidl.h> | 11 #include <shobjidl.h> |
12 | 12 |
13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
14 #include "base/path_service.h" | 14 #include "base/path_service.h" |
15 #include "base/win/metro.h" | |
16 #include "base/win/scoped_co_mem.h" | 15 #include "base/win/scoped_co_mem.h" |
17 #include "chrome/common/chrome_constants.h" | 16 #include "chrome/common/chrome_constants.h" |
18 #include "chrome/common/chrome_switches.h" | 17 #include "chrome/common/chrome_switches.h" |
19 #include "chrome/installer/util/browser_distribution.h" | 18 #include "chrome/installer/util/browser_distribution.h" |
20 #include "components/nacl/common/nacl_switches.h" | 19 #include "components/nacl/common/nacl_switches.h" |
21 | 20 |
22 namespace chrome { | 21 namespace chrome { |
23 | 22 |
24 namespace { | 23 namespace { |
25 | 24 |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 if (process_type == switches::kNaClBrokerProcess || | 112 if (process_type == switches::kNaClBrokerProcess || |
114 process_type == switches::kNaClLoaderProcess) { | 113 process_type == switches::kNaClLoaderProcess) { |
115 return true; | 114 return true; |
116 } | 115 } |
117 #endif | 116 #endif |
118 | 117 |
119 return false; | 118 return false; |
120 } | 119 } |
121 | 120 |
122 } // namespace chrome | 121 } // namespace chrome |
OLD | NEW |