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.h" | 5 #include "chrome/common/chrome_paths.h" |
6 | 6 |
7 #include "base/file_util.h" | 7 #include "base/files/file_util.h" |
8 #include "base/lazy_instance.h" | 8 #include "base/lazy_instance.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/mac/bundle_locations.h" | 10 #include "base/mac/bundle_locations.h" |
11 #include "base/path_service.h" | 11 #include "base/path_service.h" |
12 #include "base/strings/string_util.h" | 12 #include "base/strings/string_util.h" |
13 #include "base/sys_info.h" | 13 #include "base/sys_info.h" |
14 #include "base/threading/thread_restrictions.h" | 14 #include "base/threading/thread_restrictions.h" |
15 #include "base/version.h" | 15 #include "base/version.h" |
16 #include "chrome/common/chrome_constants.h" | 16 #include "chrome/common/chrome_constants.h" |
17 #include "chrome/common/chrome_paths_internal.h" | 17 #include "chrome/common/chrome_paths_internal.h" |
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
599 | 599 |
600 void SetInvalidSpecifiedUserDataDir(const base::FilePath& user_data_dir) { | 600 void SetInvalidSpecifiedUserDataDir(const base::FilePath& user_data_dir) { |
601 g_invalid_specified_user_data_dir.Get() = user_data_dir; | 601 g_invalid_specified_user_data_dir.Get() = user_data_dir; |
602 } | 602 } |
603 | 603 |
604 const base::FilePath& GetInvalidSpecifiedUserDataDir() { | 604 const base::FilePath& GetInvalidSpecifiedUserDataDir() { |
605 return g_invalid_specified_user_data_dir.Get(); | 605 return g_invalid_specified_user_data_dir.Get(); |
606 } | 606 } |
607 | 607 |
608 } // namespace chrome | 608 } // namespace chrome |
OLD | NEW |