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

Unified Diff: chrome/browser/automation/automation_resource_message_filter.cc

Issue 10388175: Remove all the unnused automation IPCs. These were used by UI tests that have been converted to bro… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/automation/automation_resource_message_filter.cc
===================================================================
--- chrome/browser/automation/automation_resource_message_filter.cc (revision 137438)
+++ chrome/browser/automation/automation_resource_message_filter.cc (working copy)
@@ -147,10 +147,6 @@
deserialize_success)
IPC_MESSAGE_HANDLER(AutomationMsg_SetFilteredInet,
OnSetFilteredInet)
- IPC_MESSAGE_HANDLER(AutomationMsg_GetFilteredInetHitCount,
- OnGetFilteredInetHitCount)
- IPC_MESSAGE_HANDLER(AutomationMsg_RecordHistograms,
- OnRecordHistograms)
IPC_MESSAGE_HANDLER(AutomationMsg_GetCookiesHostResponse,
OnGetCookiesHostResponse)
IPC_MESSAGE_UNHANDLED(handled = false)
@@ -385,18 +381,6 @@
chrome_browser_net::SetUrlRequestMocksEnabled(enable);
}
-void AutomationResourceMessageFilter::OnGetFilteredInetHitCount(
- int* hit_count) {
- *hit_count = net::URLRequestFilter::GetInstance()->hit_count();
-}
-
-void AutomationResourceMessageFilter::OnRecordHistograms(
- const std::vector<std::string>& histogram_list) {
- for (size_t index = 0; index < histogram_list.size(); ++index) {
- base::Histogram::DeserializeHistogramInfo(histogram_list[index]);
- }
-}
-
bool AutomationResourceMessageFilter::ShouldFilterCookieMessages(
int render_process_id, int render_view_id) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
« no previous file with comments | « chrome/browser/automation/automation_resource_message_filter.h ('k') | chrome/browser/automation/automation_tab_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698