| 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 "base/basictypes.h" | 5 #include "base/basictypes.h" |
| 6 #include "base/bind.h" | 6 #include "base/bind.h" |
| 7 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
| 8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
| 9 #include "base/run_loop.h" | 9 #include "base/run_loop.h" |
| 10 #include "base/stringprintf.h" | 10 #include "base/strings/stringprintf.h" |
| 11 #include "base/threading/platform_thread.h" | 11 #include "base/threading/platform_thread.h" |
| 12 #include "base/timer.h" | 12 #include "base/timer.h" |
| 13 #include "chrome/browser/ui/app_list/search/history.h" | 13 #include "chrome/browser/ui/app_list/search/history.h" |
| 14 #include "chrome/browser/ui/app_list/search/history_data.h" | 14 #include "chrome/browser/ui/app_list/search/history_data.h" |
| 15 #include "chrome/browser/ui/app_list/search/history_data_observer.h" | 15 #include "chrome/browser/ui/app_list/search/history_data_observer.h" |
| 16 #include "chrome/browser/ui/app_list/search/history_data_store.h" | 16 #include "chrome/browser/ui/app_list/search/history_data_store.h" |
| 17 #include "chrome/test/base/testing_profile.h" | 17 #include "chrome/test/base/testing_profile.h" |
| 18 #include "content/public/test/test_browser_thread.h" | 18 #include "content/public/test/test_browser_thread.h" |
| 19 #include "testing/gtest/include/gtest/gtest.h" | 19 #include "testing/gtest/include/gtest/gtest.h" |
| 20 | 20 |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 | 310 |
| 311 // The oldest secondary is gone. | 311 // The oldest secondary is gone. |
| 312 EXPECT_EQ(UNKNOWN_RESULT, GetResultType("1")); | 312 EXPECT_EQ(UNKNOWN_RESULT, GetResultType("1")); |
| 313 | 313 |
| 314 // Touched oldest survived. | 314 // Touched oldest survived. |
| 315 EXPECT_EQ(PERFECT_SECONDARY, GetResultType("0")); | 315 EXPECT_EQ(PERFECT_SECONDARY, GetResultType("0")); |
| 316 } | 316 } |
| 317 | 317 |
| 318 } // namespace test | 318 } // namespace test |
| 319 } // namespace app_list | 319 } // namespace app_list |
| OLD | NEW |