| 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/extensions/component_loader.h" | 5 #include "chrome/browser/extensions/component_loader.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
| 9 #include "base/json/json_string_value_serializer.h" | 9 #include "base/json/json_string_value_serializer.h" |
| 10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
| (...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 Add(IDR_WALLPAPERMANAGER_MANIFEST, | 317 Add(IDR_WALLPAPERMANAGER_MANIFEST, |
| 318 FilePath(FILE_PATH_LITERAL("chromeos/wallpaper_manager"))); | 318 FilePath(FILE_PATH_LITERAL("chromeos/wallpaper_manager"))); |
| 319 } | 319 } |
| 320 #endif | 320 #endif |
| 321 | 321 |
| 322 #if defined(FILE_MANAGER_EXTENSION) | 322 #if defined(FILE_MANAGER_EXTENSION) |
| 323 AddFileManagerExtension(); | 323 AddFileManagerExtension(); |
| 324 #endif | 324 #endif |
| 325 | 325 |
| 326 #if defined(OS_CHROMEOS) | 326 #if defined(OS_CHROMEOS) |
| 327 Add(IDR_BACKLOADER_MANIFEST, |
| 328 FilePath(FILE_PATH_LITERAL("backloader"))); |
| 329 |
| 327 Add(IDR_MOBILE_MANIFEST, | 330 Add(IDR_MOBILE_MANIFEST, |
| 328 FilePath(FILE_PATH_LITERAL("/usr/share/chromeos-assets/mobile"))); | 331 FilePath(FILE_PATH_LITERAL("/usr/share/chromeos-assets/mobile"))); |
| 329 | 332 |
| 330 Add(IDR_CROSH_BUILTIN_MANIFEST, FilePath(FILE_PATH_LITERAL( | 333 Add(IDR_CROSH_BUILTIN_MANIFEST, FilePath(FILE_PATH_LITERAL( |
| 331 "/usr/share/chromeos-assets/crosh_builtin"))); | 334 "/usr/share/chromeos-assets/crosh_builtin"))); |
| 332 | 335 |
| 333 AddGaiaAuthExtension(); | 336 AddGaiaAuthExtension(); |
| 334 | 337 |
| 335 // TODO(gauravsh): Only include echo extension on official builds. | 338 // TODO(gauravsh): Only include echo extension on official builds. |
| 336 const CommandLine* command_line = CommandLine::ForCurrentProcess(); | 339 const CommandLine* command_line = CommandLine::ForCurrentProcess(); |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 397 void ComponentLoader::RegisterUserPrefs(PrefService* prefs) { | 400 void ComponentLoader::RegisterUserPrefs(PrefService* prefs) { |
| 398 prefs->RegisterStringPref(prefs::kEnterpriseWebStoreURL, | 401 prefs->RegisterStringPref(prefs::kEnterpriseWebStoreURL, |
| 399 std::string() /* default_value */, | 402 std::string() /* default_value */, |
| 400 PrefService::UNSYNCABLE_PREF); | 403 PrefService::UNSYNCABLE_PREF); |
| 401 prefs->RegisterStringPref(prefs::kEnterpriseWebStoreName, | 404 prefs->RegisterStringPref(prefs::kEnterpriseWebStoreName, |
| 402 std::string() /* default_value */, | 405 std::string() /* default_value */, |
| 403 PrefService::UNSYNCABLE_PREF); | 406 PrefService::UNSYNCABLE_PREF); |
| 404 } | 407 } |
| 405 | 408 |
| 406 } // namespace extensions | 409 } // namespace extensions |
| OLD | NEW |