Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Side by Side Diff: chrome/browser/extensions/api/streams_private/streams_private_manifest_unittest.cc

Issue 48643003: Moved extension and value builder code to extensions component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase again Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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"
7 #include "chrome/common/extensions/extension_constants.h" 6 #include "chrome/common/extensions/extension_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"
12 #include "extensions/common/error_utils.h" 10 #include "extensions/common/error_utils.h"
11 #include "extensions/common/extension_builder.h"
13 #include "extensions/common/manifest_constants.h" 12 #include "extensions/common/manifest_constants.h"
13 #include "extensions/common/value_builder.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 15
16 namespace errors = extensions::manifest_errors; 16 namespace errors = extensions::manifest_errors;
17 17
18 using extensions::DictionaryBuilder; 18 using extensions::DictionaryBuilder;
19 using extensions::Extension; 19 using extensions::Extension;
20 using extensions::ExtensionBuilder; 20 using extensions::ExtensionBuilder;
21 using extensions::ListBuilder; 21 using extensions::ListBuilder;
22 22
23 namespace { 23 namespace {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 .Append("plain/text"))) 57 .Append("plain/text")))
58 .Build(); 58 .Build();
59 59
60 ASSERT_TRUE(extension.get()); 60 ASSERT_TRUE(extension.get());
61 61
62 MimeTypesHandler* handler = MimeTypesHandler::GetHandler(extension.get()); 62 MimeTypesHandler* handler = MimeTypesHandler::GetHandler(extension.get());
63 ASSERT_TRUE(handler == NULL); 63 ASSERT_TRUE(handler == NULL);
64 } 64 }
65 65
66 } // namespace 66 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698