OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "chrome/browser/content_settings/host_content_settings_map.h" | 5 #include "chrome/browser/content_settings/host_content_settings_map.h" |
6 #include "chrome/browser/history/history_service_factory.h" | 6 #include "chrome/browser/history/history_service_factory.h" |
7 #include "chrome/browser/profiles/profile.h" | 7 #include "chrome/browser/profiles/profile.h" |
8 #include "chrome/browser/search/instant_service.h" | 8 #include "chrome/browser/search/instant_service.h" |
9 #include "chrome/browser/search/instant_service_factory.h" | 9 #include "chrome/browser/search/instant_service_factory.h" |
10 #include "chrome/browser/search_engines/template_url_service.h" | 10 #include "chrome/browser/search_engines/template_url_service.h" |
(...skipping 1018 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1029 // Make sure this is an Instant process. | 1029 // Make sure this is an Instant process. |
1030 content::WebContents* overlay = instant()->GetOverlayContents(); | 1030 content::WebContents* overlay = instant()->GetOverlayContents(); |
1031 EXPECT_TRUE(instant_service->IsInstantProcess( | 1031 EXPECT_TRUE(instant_service->IsInstantProcess( |
1032 overlay->GetRenderProcessHost()->GetID())); | 1032 overlay->GetRenderProcessHost()->GetID())); |
1033 | 1033 |
1034 bool result; | 1034 bool result; |
1035 EXPECT_TRUE(ExecuteScriptAndExtractBool(overlay, kImageRenderScript, | 1035 EXPECT_TRUE(ExecuteScriptAndExtractBool(overlay, kImageRenderScript, |
1036 &result)); | 1036 &result)); |
1037 EXPECT_TRUE(result); | 1037 EXPECT_TRUE(result); |
1038 } | 1038 } |
OLD | NEW |