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