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 "base/base_paths.h" | 7 #include "base/base_paths.h" |
8 #include "base/environment.h" | 8 #include "base/environment.h" |
9 #include "base/file_util.h" | 9 #include "base/files/file_util.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/nix/xdg_util.h" | 11 #include "base/nix/xdg_util.h" |
12 #include "base/path_service.h" | 12 #include "base/path_service.h" |
13 #include "chrome/common/chrome_paths.h" | 13 #include "chrome/common/chrome_paths.h" |
14 | 14 |
15 namespace chrome { | 15 namespace chrome { |
16 | 16 |
17 using base::nix::GetXDGDirectory; | 17 using base::nix::GetXDGDirectory; |
18 using base::nix::GetXDGUserDirectory; | 18 using base::nix::GetXDGUserDirectory; |
19 using base::nix::kDotConfigDir; | 19 using base::nix::kDotConfigDir; |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 } | 136 } |
137 | 137 |
138 bool ProcessNeedsProfileDir(const std::string& process_type) { | 138 bool ProcessNeedsProfileDir(const std::string& process_type) { |
139 // For now we have no reason to forbid this on Linux as we don't | 139 // For now we have no reason to forbid this on Linux as we don't |
140 // have the roaming profile troubles there. Moreover the Linux breakpad needs | 140 // have the roaming profile troubles there. Moreover the Linux breakpad needs |
141 // profile dir access in all process if enabled on Linux. | 141 // profile dir access in all process if enabled on Linux. |
142 return true; | 142 return true; |
143 } | 143 } |
144 | 144 |
145 } // namespace chrome | 145 } // namespace chrome |
OLD | NEW |