| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <string> | 5 #include <string> |
| 6 | 6 |
| 7 #include "base/memory/scoped_vector.h" | 7 #include "base/memory/scoped_vector.h" |
| 8 #include "base/string16.h" | 8 #include "base/strings/string16.h" |
| 9 #include "base/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
| 10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
| 11 #include "chrome/browser/ui/app_list/search/chrome_search_result.h" | 11 #include "chrome/browser/ui/app_list/search/chrome_search_result.h" |
| 12 #include "chrome/browser/ui/app_list/search/history_types.h" | 12 #include "chrome/browser/ui/app_list/search/history_types.h" |
| 13 #include "chrome/browser/ui/app_list/search/mixer.h" | 13 #include "chrome/browser/ui/app_list/search/mixer.h" |
| 14 #include "chrome/browser/ui/app_list/search/search_provider.h" | 14 #include "chrome/browser/ui/app_list/search/search_provider.h" |
| 15 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
| 16 #include "ui/app_list/app_list_model.h" | 16 #include "ui/app_list/app_list_model.h" |
| 17 | 17 |
| 18 namespace app_list { | 18 namespace app_list { |
| 19 namespace test { | 19 namespace test { |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 webstore_provider()->set_count(1); | 173 webstore_provider()->set_count(1); |
| 174 | 174 |
| 175 RunQuery(); | 175 RunQuery(); |
| 176 | 176 |
| 177 // Only three results with unique id are kept. | 177 // Only three results with unique id are kept. |
| 178 EXPECT_EQ("dup0,dup1,dup2", GetResults()); | 178 EXPECT_EQ("dup0,dup1,dup2", GetResults()); |
| 179 } | 179 } |
| 180 | 180 |
| 181 } // namespace test | 181 } // namespace test |
| 182 } // namespace app_list | 182 } // namespace app_list |
| OLD | NEW |