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

Side by Side Diff: chrome/browser/renderer_host/offline_resource_handler.h

Issue 8662047: base::Bind: Implement a 1-arity CancelableCallback and use this to implement (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Void return type. Created 9 years 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 #ifndef CHROME_BROWSER_RENDERER_HOST_OFFLINE_RESOURCE_HANDLER_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_OFFLINE_RESOURCE_HANDLER_H_
6 #define CHROME_BROWSER_RENDERER_HOST_OFFLINE_RESOURCE_HANDLER_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_OFFLINE_RESOURCE_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 int process_host_id_; 73 int process_host_id_;
74 int render_view_id_; 74 int render_view_id_;
75 ResourceDispatcherHost* rdh_; 75 ResourceDispatcherHost* rdh_;
76 net::URLRequest* request_; 76 net::URLRequest* request_;
77 ChromeAppCacheService* const appcache_service_; 77 ChromeAppCacheService* const appcache_service_;
78 78
79 // The state for deferred load quest. 79 // The state for deferred load quest.
80 int deferred_request_id_; 80 int deferred_request_id_;
81 GURL deferred_url_; 81 GURL deferred_url_;
82 82
83 scoped_refptr<net::CancelableOldCompletionCallback<OfflineResourceHandler> > 83 net::CancelableCompletionCallback appcache_completion_callback_;
84 appcache_completion_callback_;
85 84
86 DISALLOW_COPY_AND_ASSIGN(OfflineResourceHandler); 85 DISALLOW_COPY_AND_ASSIGN(OfflineResourceHandler);
87 }; 86 };
88 87
89 #endif // CHROME_BROWSER_RENDERER_HOST_OFFLINE_RESOURCE_HANDLER_H_ 88 #endif // CHROME_BROWSER_RENDERER_HOST_OFFLINE_RESOURCE_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698