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/browser/chromeos/extensions/default_app_order.h" | 5 #include "chrome/browser/chromeos/extensions/default_app_order.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
9 #include "base/file_util.h" | |
10 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "base/files/file_util.h" |
11 #include "base/json/json_file_value_serializer.h" | 11 #include "base/json/json_file_value_serializer.h" |
12 #include "base/path_service.h" | 12 #include "base/path_service.h" |
13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
14 #include "chrome/browser/browser_process.h" | 14 #include "chrome/browser/browser_process.h" |
15 #include "chrome/common/extensions/extension_constants.h" | 15 #include "chrome/common/extensions/extension_constants.h" |
16 #include "chromeos/chromeos_paths.h" | 16 #include "chromeos/chromeos_paths.h" |
17 #include "content/public/browser/browser_thread.h" | 17 #include "content/public/browser/browser_thread.h" |
18 | 18 |
19 namespace chromeos { | 19 namespace chromeos { |
20 namespace default_app_order { | 20 namespace default_app_order { |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 std::string GetOemAppsFolderName() { | 193 std::string GetOemAppsFolderName() { |
194 // |loader_instance| could be NULL for test. | 194 // |loader_instance| could be NULL for test. |
195 if (!loader_instance) | 195 if (!loader_instance) |
196 return std::string(); | 196 return std::string(); |
197 else | 197 else |
198 return loader_instance->GetOemAppsFolderName(); | 198 return loader_instance->GetOemAppsFolderName(); |
199 } | 199 } |
200 | 200 |
201 } // namespace default_app_order | 201 } // namespace default_app_order |
202 } // namespace chromeos | 202 } // namespace chromeos |
OLD | NEW |