| 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 #import <Foundation/Foundation.h> | 7 #import <Foundation/Foundation.h> |
| 8 #include <string.h> | 8 #include <string.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/base_paths.h" | 12 #include "base/base_paths.h" |
| 13 #include "base/logging.h" | 13 #include "base/logging.h" |
| 14 #import "base/mac/foundation_util.h" | 14 #import "base/mac/foundation_util.h" |
| 15 #import "base/mac/scoped_nsautorelease_pool.h" | 15 #import "base/mac/scoped_nsautorelease_pool.h" |
| 16 #include "base/memory/free_deleter.h" |
| 16 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
| 17 #include "base/path_service.h" | 18 #include "base/path_service.h" |
| 18 #include "build/build_config.h" | 19 #include "build/build_config.h" |
| 19 #include "chrome/common/chrome_constants.h" | 20 #include "chrome/common/chrome_constants.h" |
| 20 | 21 |
| 21 namespace { | 22 namespace { |
| 22 | 23 |
| 23 #if !defined(OS_IOS) | 24 #if !defined(OS_IOS) |
| 24 const base::FilePath* g_override_versioned_directory = NULL; | 25 const base::FilePath* g_override_versioned_directory = NULL; |
| 25 | 26 |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 | 237 |
| 237 #endif // !defined(OS_IOS) | 238 #endif // !defined(OS_IOS) |
| 238 | 239 |
| 239 bool ProcessNeedsProfileDir(const std::string& process_type) { | 240 bool ProcessNeedsProfileDir(const std::string& process_type) { |
| 240 // For now we have no reason to forbid this on other MacOS as we don't | 241 // For now we have no reason to forbid this on other MacOS as we don't |
| 241 // have the roaming profile troubles there. | 242 // have the roaming profile troubles there. |
| 242 return true; | 243 return true; |
| 243 } | 244 } |
| 244 | 245 |
| 245 } // namespace chrome | 246 } // namespace chrome |
| OLD | NEW |