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

Side by Side Diff: content/browser/net/view_http_cache_job_factory.cc

Issue 12210030: Linux/ChromeOS Chromium style checker cleanup, content/ edition. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 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) 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/net/view_http_cache_job_factory.h" 5 #include "content/browser/net/view_http_cache_job_factory.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 std::string data_; 79 std::string data_;
80 int data_offset_; 80 int data_offset_;
81 net::ViewCacheHelper cache_helper_; 81 net::ViewCacheHelper cache_helper_;
82 net::CompletionCallback callback_; 82 net::CompletionCallback callback_;
83 base::Closure user_callback_; 83 base::Closure user_callback_;
84 84
85 DISALLOW_COPY_AND_ASSIGN(Core); 85 DISALLOW_COPY_AND_ASSIGN(Core);
86 }; 86 };
87 87
88 ~ViewHttpCacheJob() {} 88 virtual ~ViewHttpCacheJob() {}
89 89
90 void StartAsync(); 90 void StartAsync();
91 void OnStartCompleted(); 91 void OnStartCompleted();
92 92
93 scoped_refptr<Core> core_; 93 scoped_refptr<Core> core_;
94 base::WeakPtrFactory<ViewHttpCacheJob> weak_factory_; 94 base::WeakPtrFactory<ViewHttpCacheJob> weak_factory_;
95 base::Closure callback_; 95 base::Closure callback_;
96 96
97 DISALLOW_COPY_AND_ASSIGN(ViewHttpCacheJob); 97 DISALLOW_COPY_AND_ASSIGN(ViewHttpCacheJob);
98 }; 98 };
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 url.host() == chrome::kChromeUINetworkViewCacheHost; 196 url.host() == chrome::kChromeUINetworkViewCacheHost;
197 } 197 }
198 198
199 // Static. 199 // Static.
200 net::URLRequestJob* ViewHttpCacheJobFactory::CreateJobForRequest( 200 net::URLRequestJob* ViewHttpCacheJobFactory::CreateJobForRequest(
201 net::URLRequest* request, net::NetworkDelegate* network_delegate) { 201 net::URLRequest* request, net::NetworkDelegate* network_delegate) {
202 return new ViewHttpCacheJob(request, network_delegate); 202 return new ViewHttpCacheJob(request, network_delegate);
203 } 203 }
204 204
205 } // namespace content 205 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/media/webrtc_internals_unittest.cc ('k') | content/browser/plugin_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698