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 6586001: Move appcache/file_sytem/device_orientation subdirectories of chrome\browser ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 9 years, 10 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
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/appcache/appcache_dispatcher_host.h" 5 #include "content/browser/appcache/appcache_dispatcher_host.h"
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "chrome/browser/appcache/chrome_appcache_service.h"
9 #include "chrome/browser/metrics/user_metrics.h" 8 #include "chrome/browser/metrics/user_metrics.h"
10 #include "chrome/browser/net/chrome_url_request_context.h" 9 #include "chrome/browser/net/chrome_url_request_context.h"
11 #include "chrome/browser/renderer_host/browser_render_process_host.h" 10 #include "chrome/browser/renderer_host/browser_render_process_host.h"
11 #include "content/browser/appcache/chrome_appcache_service.h"
12 #include "chrome/common/render_messages.h" 12 #include "chrome/common/render_messages.h"
13 13
14 AppCacheDispatcherHost::AppCacheDispatcherHost( 14 AppCacheDispatcherHost::AppCacheDispatcherHost(
15 net::URLRequestContext* request_context, 15 net::URLRequestContext* request_context,
16 int process_id) 16 int process_id)
17 : ALLOW_THIS_IN_INITIALIZER_LIST(frontend_proxy_(this)), 17 : ALLOW_THIS_IN_INITIALIZER_LIST(frontend_proxy_(this)),
18 request_context_(request_context), 18 request_context_(request_context),
19 process_id_(process_id) { 19 process_id_(process_id) {
20 DCHECK(request_context_.get()); 20 DCHECK(request_context_.get());
21 } 21 }
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 AppCacheMsg_StartUpdate::WriteReplyParams(reply_msg, result); 228 AppCacheMsg_StartUpdate::WriteReplyParams(reply_msg, result);
229 Send(pending_reply_msg_.release()); 229 Send(pending_reply_msg_.release());
230 } 230 }
231 231
232 void AppCacheDispatcherHost::SwapCacheCallback(bool result, void* param) { 232 void AppCacheDispatcherHost::SwapCacheCallback(bool result, void* param) {
233 IPC::Message* reply_msg = reinterpret_cast<IPC::Message*>(param); 233 IPC::Message* reply_msg = reinterpret_cast<IPC::Message*>(param);
234 DCHECK_EQ(reply_msg, pending_reply_msg_.get()); 234 DCHECK_EQ(reply_msg, pending_reply_msg_.get());
235 AppCacheMsg_SwapCache::WriteReplyParams(reply_msg, result); 235 AppCacheMsg_SwapCache::WriteReplyParams(reply_msg, result);
236 Send(pending_reply_msg_.release()); 236 Send(pending_reply_msg_.release());
237 } 237 }
OLDNEW
« no previous file with comments | « content/browser/appcache/appcache_dispatcher_host.h ('k') | content/browser/appcache/appcache_frontend_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698