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 "base/strings/string_number_conversions.h" | 5 #include "base/strings/string_number_conversions.h" |
6 #include "chrome/common/extensions/extension_builder.h" | 6 #include "chrome/common/extensions/extension_builder.h" |
7 #include "chrome/common/extensions/extension_manifest_constants.h" | |
8 #include "chrome/common/extensions/manifest_tests/extension_manifest_test.h" | 7 #include "chrome/common/extensions/manifest_tests/extension_manifest_test.h" |
9 #include "chrome/common/extensions/manifest_url_handler.h" | 8 #include "chrome/common/extensions/manifest_url_handler.h" |
10 #include "chrome/common/extensions/mime_types_handler.h" | 9 #include "chrome/common/extensions/mime_types_handler.h" |
11 #include "chrome/common/extensions/value_builder.h" | 10 #include "chrome/common/extensions/value_builder.h" |
12 #include "extensions/common/error_utils.h" | 11 #include "extensions/common/error_utils.h" |
| 12 #include "extensions/common/manifest_constants.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
14 | 14 |
15 namespace errors = extension_manifest_errors; | 15 namespace errors = extensions::manifest_errors; |
16 | 16 |
17 using extensions::DictionaryBuilder; | 17 using extensions::DictionaryBuilder; |
18 using extensions::Extension; | 18 using extensions::Extension; |
19 using extensions::ExtensionBuilder; | 19 using extensions::ExtensionBuilder; |
20 using extensions::ListBuilder; | 20 using extensions::ListBuilder; |
21 | 21 |
22 namespace { | 22 namespace { |
23 | 23 |
24 class StreamsPrivateManifestTest : public ExtensionManifestTest { | 24 class StreamsPrivateManifestTest : public ExtensionManifestTest { |
25 }; | 25 }; |
(...skipping 30 matching lines...) Expand all Loading... |
56 .Append("plain/text"))) | 56 .Append("plain/text"))) |
57 .Build(); | 57 .Build(); |
58 | 58 |
59 ASSERT_TRUE(extension.get()); | 59 ASSERT_TRUE(extension.get()); |
60 | 60 |
61 MimeTypesHandler* handler = MimeTypesHandler::GetHandler(extension.get()); | 61 MimeTypesHandler* handler = MimeTypesHandler::GetHandler(extension.get()); |
62 ASSERT_TRUE(handler == NULL); | 62 ASSERT_TRUE(handler == NULL); |
63 } | 63 } |
64 | 64 |
65 } // namespace | 65 } // namespace |
OLD | NEW |