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/file_util.h" | 7 #include "base/files/file_util.h" |
8 #include "base/files/scoped_temp_dir.h" | 8 #include "base/files/scoped_temp_dir.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
11 #include "base/run_loop.h" | 11 #include "base/run_loop.h" |
12 #include "chrome/browser/ui/app_list/search/history_data.h" | 12 #include "chrome/browser/ui/app_list/search/history_data.h" |
13 #include "chrome/browser/ui/app_list/search/history_data_store.h" | 13 #include "chrome/browser/ui/app_list/search/history_data_store.h" |
14 #include "content/public/test/test_browser_thread.h" | 14 #include "content/public/test/test_browser_thread.h" |
15 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
16 | 16 |
17 namespace app_list { | 17 namespace app_list { |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 EXPECT_EQ(now, it->second.update_time); | 171 EXPECT_EQ(now, it->second.update_time); |
172 | 172 |
173 store()->Delete(kQuery); | 173 store()->Delete(kQuery); |
174 Flush(); | 174 Flush(); |
175 Load(); | 175 Load(); |
176 EXPECT_TRUE(associations().empty()); | 176 EXPECT_TRUE(associations().empty()); |
177 } | 177 } |
178 | 178 |
179 } // namespace test | 179 } // namespace test |
180 } // namespace app_list | 180 } // namespace app_list |
OLD | NEW |