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

Side by Side Diff: chrome/browser/extensions/api/omnibox/omnibox_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/values.h" 5 #include "base/values.h"
6 #include "chrome/browser/extensions/api/omnibox/omnibox_api.h" 6 #include "chrome/browser/extensions/api/omnibox/omnibox_api.h"
7 #include "chrome/common/extensions/api/omnibox.h" 7 #include "chrome/common/extensions/api/omnibox.h"
8 #include "chrome/common/extensions/value_builder.h" 8 #include "extensions/common/value_builder.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 #include "testing/platform_test.h" 10 #include "testing/platform_test.h"
11 11
12 namespace extensions { 12 namespace extensions {
13 13
14 namespace omnibox = api::omnibox; 14 namespace omnibox = api::omnibox;
15 namespace SendSuggestions = omnibox::SendSuggestions; 15 namespace SendSuggestions = omnibox::SendSuggestions;
16 namespace SetDefaultSuggestion = omnibox::SetDefaultSuggestion; 16 namespace SetDefaultSuggestion = omnibox::SetDefaultSuggestion;
17 17
18 namespace { 18 namespace {
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 .Set("type", "dim") 266 .Set("type", "dim")
267 .Set("offset", 0) 267 .Set("offset", 0)
268 .Set("length", 3)))).Build(); 268 .Set("length", 3)))).Build();
269 269
270 scoped_ptr<SetDefaultSuggestion::Params> params( 270 scoped_ptr<SetDefaultSuggestion::Params> params(
271 SetDefaultSuggestion::Params::Create(*list)); 271 SetDefaultSuggestion::Params::Create(*list));
272 EXPECT_TRUE(params); 272 EXPECT_TRUE(params);
273 } 273 }
274 274
275 } // namespace extensions 275 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698