| 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 <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/files/file_util.h" | 10 #include "base/files/file_util.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 #include "extensions/common/constants.h" | 40 #include "extensions/common/constants.h" |
| 41 #include "extensions/common/extension.h" | 41 #include "extensions/common/extension.h" |
| 42 #include "extensions/common/extension_l10n_util.h" | 42 #include "extensions/common/extension_l10n_util.h" |
| 43 #include "extensions/common/file_util.h" | 43 #include "extensions/common/file_util.h" |
| 44 #include "extensions/common/manifest_constants.h" | 44 #include "extensions/common/manifest_constants.h" |
| 45 #include "grit/browser_resources.h" | 45 #include "grit/browser_resources.h" |
| 46 #include "ui/base/l10n/l10n_util.h" | 46 #include "ui/base/l10n/l10n_util.h" |
| 47 #include "ui/base/resource/resource_bundle.h" | 47 #include "ui/base/resource/resource_bundle.h" |
| 48 | 48 |
| 49 #if defined(OS_CHROMEOS) | 49 #if defined(OS_CHROMEOS) |
| 50 #include "ash/system/chromeos/devicetype_utils.h" | 50 #include "ash/common/system/chromeos/devicetype_utils.h" |
| 51 #include "components/chrome_apps/grit/chrome_apps_resources.h" | 51 #include "components/chrome_apps/grit/chrome_apps_resources.h" |
| 52 #include "components/user_manager/user_manager.h" | 52 #include "components/user_manager/user_manager.h" |
| 53 #include "grit/keyboard_resources.h" | 53 #include "grit/keyboard_resources.h" |
| 54 #include "ui/file_manager/grit/file_manager_resources.h" | 54 #include "ui/file_manager/grit/file_manager_resources.h" |
| 55 #include "ui/keyboard/keyboard_util.h" | 55 #include "ui/keyboard/keyboard_util.h" |
| 56 #endif | 56 #endif |
| 57 | 57 |
| 58 #if defined(GOOGLE_CHROME_BUILD) | 58 #if defined(GOOGLE_CHROME_BUILD) |
| 59 #include "chrome/browser/defaults.h" | 59 #include "chrome/browser/defaults.h" |
| 60 #endif | 60 #endif |
| (...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 789 manifest.release(), | 789 manifest.release(), |
| 790 root_directory, | 790 root_directory, |
| 791 false); | 791 false); |
| 792 CHECK_EQ(extension_id, actual_extension_id); | 792 CHECK_EQ(extension_id, actual_extension_id); |
| 793 if (!done_cb.is_null()) | 793 if (!done_cb.is_null()) |
| 794 done_cb.Run(); | 794 done_cb.Run(); |
| 795 } | 795 } |
| 796 #endif | 796 #endif |
| 797 | 797 |
| 798 } // namespace extensions | 798 } // namespace extensions |
| OLD | NEW |