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/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 Loading... |
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 |
OLD | NEW |