OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/browser/search_engines/template_url_model_test_util.h" | 5 #include "chrome/browser/search_engines/template_url_model_test_util.h" |
6 | 6 |
7 #include "base/memory/scoped_temp_dir.h" | |
8 #include "base/message_loop.h" | 7 #include "base/message_loop.h" |
9 #include "base/path_service.h" | 8 #include "base/path_service.h" |
| 9 #include "base/scoped_temp_dir.h" |
10 #include "base/threading/thread.h" | 10 #include "base/threading/thread.h" |
11 #include "chrome/browser/search_engines/template_url.h" | 11 #include "chrome/browser/search_engines/template_url.h" |
12 #include "chrome/browser/search_engines/template_url_model.h" | 12 #include "chrome/browser/search_engines/template_url_model.h" |
13 #include "chrome/test/testing_profile.h" | 13 #include "chrome/test/testing_profile.h" |
14 #include "content/common/notification_service.h" | 14 #include "content/common/notification_service.h" |
15 #include "content/common/notification_type.h" | 15 #include "content/common/notification_type.h" |
16 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
17 | 17 |
18 namespace { | 18 namespace { |
19 | 19 |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 return profile_->GetTemplateURLModel(); | 231 return profile_->GetTemplateURLModel(); |
232 } | 232 } |
233 | 233 |
234 TestingProfile* TemplateURLModelTestUtil::profile() const { | 234 TestingProfile* TemplateURLModelTestUtil::profile() const { |
235 return profile_.get(); | 235 return profile_.get(); |
236 } | 236 } |
237 | 237 |
238 void TemplateURLModelTestUtil::StartIOThread() { | 238 void TemplateURLModelTestUtil::StartIOThread() { |
239 profile_->StartIOThread(); | 239 profile_->StartIOThread(); |
240 } | 240 } |
OLD | NEW |