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

Side by Side Diff: chrome/browser/renderer_host/offline_resource_throttle.cc

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 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 | Annotate | Revision Log
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 "chrome/browser/renderer_host/offline_resource_throttle.h" 5 #include "chrome/browser/renderer_host/offline_resource_throttle.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 10 matching lines...) Expand all
21 #include "content/public/browser/render_view_host_delegate.h" 21 #include "content/public/browser/render_view_host_delegate.h"
22 #include "content/public/browser/resource_context.h" 22 #include "content/public/browser/resource_context.h"
23 #include "content/public/browser/resource_throttle_controller.h" 23 #include "content/public/browser/resource_throttle_controller.h"
24 #include "net/base/net_errors.h" 24 #include "net/base/net_errors.h"
25 #include "net/base/network_change_notifier.h" 25 #include "net/base/network_change_notifier.h"
26 #include "net/url_request/url_request.h" 26 #include "net/url_request/url_request.h"
27 #include "net/url_request/url_request_context.h" 27 #include "net/url_request/url_request_context.h"
28 #include "webkit/appcache/appcache_service.h" 28 #include "webkit/appcache/appcache_service.h"
29 29
30 using content::BrowserThread; 30 using content::BrowserThread;
31 using content::RenderViewHost;
31 using content::ResourceContext; 32 using content::ResourceContext;
32 using content::WebContents; 33 using content::WebContents;
33 34
34 namespace { 35 namespace {
35 36
36 void ShowOfflinePage( 37 void ShowOfflinePage(
37 int render_process_id, 38 int render_process_id,
38 int render_view_id, 39 int render_view_id,
39 const GURL& url, 40 const GURL& url,
40 const chromeos::OfflineLoadPage::CompletionCallback& callback) { 41 const chromeos::OfflineLoadPage::CompletionCallback& callback) {
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 base::Bind( 133 base::Bind(
133 &ShowOfflinePage, 134 &ShowOfflinePage,
134 render_process_id_, 135 render_process_id_,
135 render_view_id_, 136 render_view_id_,
136 request_->url(), 137 request_->url(),
137 base::Bind( 138 base::Bind(
138 &OfflineResourceThrottle::OnBlockingPageComplete, 139 &OfflineResourceThrottle::OnBlockingPageComplete,
139 AsWeakPtr()))); 140 AsWeakPtr())));
140 } 141 }
141 } 142 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698