Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(352)

Side by Side Diff: chrome/browser/search_engines/search_provider_install_state_dispatcher_host.cc

Issue 3119035: FBTF: Move individual XXXMsg_Params structs to a new file. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Fix comment Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/chrome_thread.h" 8 #include "chrome/browser/chrome_thread.h"
9 #include "chrome/browser/profile.h" 9 #include "chrome/browser/profile.h"
10 #include "chrome/browser/renderer_host/render_view_host.h" 10 #include "chrome/browser/renderer_host/render_view_host.h"
11 #include "chrome/browser/renderer_host/resource_message_filter.h" 11 #include "chrome/browser/renderer_host/resource_message_filter.h"
12 #include "chrome/common/render_messages.h" 12 #include "chrome/common/render_messages.h"
13 #include "chrome/common/render_messages_params.h"
13 #include "ipc/ipc_message.h" 14 #include "ipc/ipc_message.h"
14 #include "googleurl/src/gurl.h" 15 #include "googleurl/src/gurl.h"
15 16
16 SearchProviderInstallStateDispatcherHost:: 17 SearchProviderInstallStateDispatcherHost::
17 SearchProviderInstallStateDispatcherHost( 18 SearchProviderInstallStateDispatcherHost(
18 ResourceMessageFilter* ipc_sender, 19 ResourceMessageFilter* ipc_sender,
19 Profile* profile) 20 Profile* profile)
20 : ipc_sender_(ipc_sender), 21 : ipc_sender_(ipc_sender),
21 is_off_the_record_(profile->IsOffTheRecord()) { 22 is_off_the_record_(profile->IsOffTheRecord()) {
22 // This is initialized by ResourceMessageFilter. Do not add any non-trivial 23 // This is initialized by ResourceMessageFilter. Do not add any non-trivial
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 void SearchProviderInstallStateDispatcherHost::ReplyWithProviderInstallState( 82 void SearchProviderInstallStateDispatcherHost::ReplyWithProviderInstallState(
82 IPC::Message* reply_msg, 83 IPC::Message* reply_msg,
83 ViewHostMsg_GetSearchProviderInstallState_Params install_state) { 84 ViewHostMsg_GetSearchProviderInstallState_Params install_state) {
84 DCHECK(reply_msg); 85 DCHECK(reply_msg);
85 86
86 ViewHostMsg_GetSearchProviderInstallState::WriteReplyParams( 87 ViewHostMsg_GetSearchProviderInstallState::WriteReplyParams(
87 reply_msg, 88 reply_msg,
88 install_state); 89 install_state);
89 Send(reply_msg); 90 Send(reply_msg);
90 } 91 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698