OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/common/extensions/extension.h" | 5 #include "chrome/common/extensions/extension.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
10 #include "base/base64.h" | 10 #include "base/base64.h" |
(...skipping 18 matching lines...) Expand all Loading... |
29 #include "chrome/common/extensions/extension_l10n_util.h" | 29 #include "chrome/common/extensions/extension_l10n_util.h" |
30 #include "chrome/common/extensions/extension_resource.h" | 30 #include "chrome/common/extensions/extension_resource.h" |
31 #include "chrome/common/extensions/user_script.h" | 31 #include "chrome/common/extensions/user_script.h" |
32 #include "chrome/common/notification_service.h" | 32 #include "chrome/common/notification_service.h" |
33 #include "chrome/common/url_constants.h" | 33 #include "chrome/common/url_constants.h" |
34 #include "grit/chromium_strings.h" | 34 #include "grit/chromium_strings.h" |
35 #include "grit/generated_resources.h" | 35 #include "grit/generated_resources.h" |
36 #include "third_party/skia/include/core/SkBitmap.h" | 36 #include "third_party/skia/include/core/SkBitmap.h" |
37 #include "webkit/glue/image_decoder.h" | 37 #include "webkit/glue/image_decoder.h" |
38 | 38 |
39 #if defined(OS_WIN) | |
40 #include "base/registry.h" | |
41 #endif | |
42 | |
43 namespace keys = extension_manifest_keys; | 39 namespace keys = extension_manifest_keys; |
44 namespace values = extension_manifest_values; | 40 namespace values = extension_manifest_values; |
45 namespace errors = extension_manifest_errors; | 41 namespace errors = extension_manifest_errors; |
46 | 42 |
47 namespace { | 43 namespace { |
48 | 44 |
49 const int kPEMOutputColumns = 65; | 45 const int kPEMOutputColumns = 65; |
50 | 46 |
51 // KEY MARKERS | 47 // KEY MARKERS |
52 const char kKeyBeginHeaderMarker[] = "-----BEGIN"; | 48 const char kKeyBeginHeaderMarker[] = "-----BEGIN"; |
(...skipping 1692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1745 } else { | 1741 } else { |
1746 return false; | 1742 return false; |
1747 } | 1743 } |
1748 } else { | 1744 } else { |
1749 return true; | 1745 return true; |
1750 } | 1746 } |
1751 } | 1747 } |
1752 } | 1748 } |
1753 return false; | 1749 return false; |
1754 } | 1750 } |
OLD | NEW |