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

Side by Side Diff: content/browser/appcache/appcache_dispatcher_host.cc

Issue 2771233002: Remove the wrapper functions content::RecordAction et al (Closed)
Patch Set: Rebased Created 3 years, 9 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "content/browser/appcache/appcache_dispatcher_host.h" 5 #include "content/browser/appcache/appcache_dispatcher_host.h"
6 6
7 #include <map> 7 #include <map>
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/bind_helpers.h" 9 #include "base/bind_helpers.h"
10 #include "content/browser/appcache/appcache_navigation_handle_core.h" 10 #include "content/browser/appcache/appcache_navigation_handle_core.h"
11 #include "content/browser/appcache/chrome_appcache_service.h" 11 #include "content/browser/appcache/chrome_appcache_service.h"
12 #include "content/browser/bad_message.h" 12 #include "content/browser/bad_message.h"
13 #include "content/common/appcache_messages.h" 13 #include "content/common/appcache_messages.h"
14 #include "content/public/browser/user_metrics.h"
15 #include "content/public/common/browser_side_navigation_policy.h" 14 #include "content/public/common/browser_side_navigation_policy.h"
16 15
17 namespace content { 16 namespace content {
18 17
19 AppCacheDispatcherHost::AppCacheDispatcherHost( 18 AppCacheDispatcherHost::AppCacheDispatcherHost(
20 ChromeAppCacheService* appcache_service, 19 ChromeAppCacheService* appcache_service,
21 int process_id) 20 int process_id)
22 : BrowserMessageFilter(AppCacheMsgStart), 21 : BrowserMessageFilter(AppCacheMsgStart),
23 appcache_service_(appcache_service), 22 appcache_service_(appcache_service),
24 frontend_proxy_(this), 23 frontend_proxy_(this),
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 } 236 }
238 237
239 void AppCacheDispatcherHost::SwapCacheCallback(bool result, void* param) { 238 void AppCacheDispatcherHost::SwapCacheCallback(bool result, void* param) {
240 IPC::Message* reply_msg = reinterpret_cast<IPC::Message*>(param); 239 IPC::Message* reply_msg = reinterpret_cast<IPC::Message*>(param);
241 DCHECK_EQ(pending_reply_msg_.get(), reply_msg); 240 DCHECK_EQ(pending_reply_msg_.get(), reply_msg);
242 AppCacheHostMsg_SwapCache::WriteReplyParams(reply_msg, result); 241 AppCacheHostMsg_SwapCache::WriteReplyParams(reply_msg, result);
243 Send(pending_reply_msg_.release()); 242 Send(pending_reply_msg_.release());
244 } 243 }
245 244
246 } // namespace content 245 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/android/overscroll_controller_android.cc ('k') | content/browser/browser_plugin/browser_plugin_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698