OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/search_provider_install_state_dispatcher
_host.h" | 5 #include "chrome/browser/search_engines/search_provider_install_state_dispatcher
_host.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "chrome/browser/browser_thread.h" | 8 #include "chrome/browser/browser_thread.h" |
9 #include "chrome/browser/profile.h" | 9 #include "chrome/browser/profiles/profile.h" |
10 #include "chrome/browser/renderer_host/render_process_host.h" | 10 #include "chrome/browser/renderer_host/render_process_host.h" |
11 #include "chrome/browser/renderer_host/render_view_host.h" | 11 #include "chrome/browser/renderer_host/render_view_host.h" |
12 #include "chrome/browser/renderer_host/resource_message_filter.h" | 12 #include "chrome/browser/renderer_host/resource_message_filter.h" |
13 #include "chrome/common/notification_source.h" | 13 #include "chrome/common/notification_source.h" |
14 #include "chrome/common/notification_type.h" | 14 #include "chrome/common/notification_type.h" |
15 #include "chrome/common/render_messages.h" | 15 #include "chrome/common/render_messages.h" |
16 #include "chrome/common/render_messages_params.h" | 16 #include "chrome/common/render_messages_params.h" |
17 #include "ipc/ipc_message.h" | 17 #include "ipc/ipc_message.h" |
18 #include "googleurl/src/gurl.h" | 18 #include "googleurl/src/gurl.h" |
19 | 19 |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 IPC::Message* reply_msg) { | 114 IPC::Message* reply_msg) { |
115 DCHECK(reply_msg); | 115 DCHECK(reply_msg); |
116 ViewHostMsg_GetSearchProviderInstallState_Params install_state = | 116 ViewHostMsg_GetSearchProviderInstallState_Params install_state = |
117 GetSearchProviderInstallState(page_location, requested_host); | 117 GetSearchProviderInstallState(page_location, requested_host); |
118 | 118 |
119 ViewHostMsg_GetSearchProviderInstallState::WriteReplyParams( | 119 ViewHostMsg_GetSearchProviderInstallState::WriteReplyParams( |
120 reply_msg, | 120 reply_msg, |
121 install_state); | 121 install_state); |
122 Send(reply_msg); | 122 Send(reply_msg); |
123 } | 123 } |
OLD | NEW |