OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "extensions/common/manifest_handlers/background_info.h" | 5 #include "extensions/common/manifest_handlers/background_info.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/lazy_instance.h" | 9 #include "base/lazy_instance.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/strings/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" |
12 #include "base/strings/utf_string_conversions.h" | 12 #include "base/strings/utf_string_conversions.h" |
13 #include "content/public/common/content_switches.h" | 13 #include "content/public/common/content_switches.h" |
14 #include "extensions/common/constants.h" | 14 #include "extensions/common/constants.h" |
15 #include "extensions/common/error_utils.h" | 15 #include "extensions/common/error_utils.h" |
16 #include "extensions/common/file_util.h" | 16 #include "extensions/common/file_util.h" |
17 #include "extensions/common/manifest_constants.h" | 17 #include "extensions/common/manifest_constants.h" |
18 #include "extensions/common/permissions/api_permission_set.h" | 18 #include "extensions/common/permissions/api_permission_set.h" |
19 #include "extensions/common/permissions/permissions_data.h" | 19 #include "extensions/common/permissions/permissions_data.h" |
20 #include "extensions/common/switches.h" | 20 #include "extensions/common/switches.h" |
21 #include "grit/generated_resources.h" | 21 #include "grit/extensions_strings.h" |
22 #include "ui/base/l10n/l10n_util.h" | 22 #include "ui/base/l10n/l10n_util.h" |
23 | 23 |
24 using base::ASCIIToUTF16; | 24 using base::ASCIIToUTF16; |
25 using base::DictionaryValue; | 25 using base::DictionaryValue; |
26 | 26 |
27 namespace extensions { | 27 namespace extensions { |
28 | 28 |
29 namespace keys = manifest_keys; | 29 namespace keys = manifest_keys; |
30 namespace values = manifest_values; | 30 namespace values = manifest_values; |
31 namespace errors = manifest_errors; | 31 namespace errors = manifest_errors; |
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 keys::kBackgroundPageLegacy, | 353 keys::kBackgroundPageLegacy, |
354 keys::kBackgroundPersistent, | 354 keys::kBackgroundPersistent, |
355 keys::kBackgroundScripts, | 355 keys::kBackgroundScripts, |
356 keys::kPlatformAppBackgroundPage, | 356 keys::kPlatformAppBackgroundPage, |
357 keys::kPlatformAppBackgroundScripts, | 357 keys::kPlatformAppBackgroundScripts, |
358 keys::kPlatformAppServiceWorkerScript}; | 358 keys::kPlatformAppServiceWorkerScript}; |
359 return std::vector<std::string>(keys, keys + arraysize(keys)); | 359 return std::vector<std::string>(keys, keys + arraysize(keys)); |
360 } | 360 } |
361 | 361 |
362 } // namespace extensions | 362 } // namespace extensions |
OLD | NEW |