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

Side by Side Diff: chrome/browser/chrome_content_browser_client.cc

Issue 7631063: Prefix all IPC messages used by src\chrome with Chrome. For e.g ChromeViewMsg_, ChromeViewHostMsg... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/browser_about_handler.cc ('k') | chrome/browser/chromeos/login/image_decoder.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/chrome_content_browser_client.h" 5 #include "chrome/browser/chrome_content_browser_client.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "chrome/app/breakpad_mac.h" 8 #include "chrome/app/breakpad_mac.h"
9 #include "chrome/browser/browser_about_handler.h" 9 #include "chrome/browser/browser_about_handler.h"
10 #include "chrome/browser/browser_process.h" 10 #include "chrome/browser/browser_process.h"
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 host->channel()->AddFilter(new ChromeRenderMessageFilter( 114 host->channel()->AddFilter(new ChromeRenderMessageFilter(
115 id, profile, profile->GetRequestContextForRenderProcess(id))); 115 id, profile, profile->GetRequestContextForRenderProcess(id)));
116 host->channel()->AddFilter(new PrintingMessageFilter()); 116 host->channel()->AddFilter(new PrintingMessageFilter());
117 host->channel()->AddFilter( 117 host->channel()->AddFilter(
118 new SearchProviderInstallStateMessageFilter(id, profile)); 118 new SearchProviderInstallStateMessageFilter(id, profile));
119 host->channel()->AddFilter(new SpellCheckMessageFilter(id)); 119 host->channel()->AddFilter(new SpellCheckMessageFilter(id));
120 #if defined(OS_MACOSX) 120 #if defined(OS_MACOSX)
121 host->channel()->AddFilter(new TextInputClientMessageFilter(host->id())); 121 host->channel()->AddFilter(new TextInputClientMessageFilter(host->id()));
122 #endif 122 #endif
123 123
124 host->Send(new ViewMsg_SetIsIncognitoProcess(profile->IsOffTheRecord())); 124 host->Send(new ChromeViewMsg_SetIsIncognitoProcess(
125 profile->IsOffTheRecord()));
125 } 126 }
126 127
127 void ChromeContentBrowserClient::PluginProcessHostCreated( 128 void ChromeContentBrowserClient::PluginProcessHostCreated(
128 PluginProcessHost* host) { 129 PluginProcessHost* host) {
129 host->AddFilter(new ChromePluginMessageFilter(host)); 130 host->AddFilter(new ChromePluginMessageFilter(host));
130 } 131 }
131 132
132 void ChromeContentBrowserClient::WorkerProcessHostCreated( 133 void ChromeContentBrowserClient::WorkerProcessHostCreated(
133 WorkerProcessHost* host) { 134 WorkerProcessHost* host) {
134 host->AddFilter(new ChromeWorkerMessageFilter(host)); 135 host->AddFilter(new ChromeWorkerMessageFilter(host));
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
718 #if defined(USE_NSS) 719 #if defined(USE_NSS)
719 crypto::CryptoModuleBlockingPasswordDelegate* 720 crypto::CryptoModuleBlockingPasswordDelegate*
720 ChromeContentBrowserClient::GetCryptoPasswordDelegate( 721 ChromeContentBrowserClient::GetCryptoPasswordDelegate(
721 const GURL& url) { 722 const GURL& url) {
722 return browser::NewCryptoModuleBlockingDialogDelegate( 723 return browser::NewCryptoModuleBlockingDialogDelegate(
723 browser::kCryptoModulePasswordKeygen, url.host()); 724 browser::kCryptoModulePasswordKeygen, url.host());
724 } 725 }
725 #endif 726 #endif
726 727
727 } // namespace chrome 728 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/browser_about_handler.cc ('k') | chrome/browser/chromeos/login/image_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698