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

Side by Side Diff: content/renderer/fetchers/resource_fetcher_impl.h

Issue 1355063004: Template methods on Timer classes instead of the classes themselves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: timer: fixcaller Created 5 years, 2 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) 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 CONTENT_RENDERER_FETCHERS_RESOURCE_FETCHER_IMPL_H_ 5 #ifndef CONTENT_RENDERER_FETCHERS_RESOURCE_FETCHER_IMPL_H_
6 #define CONTENT_RENDERER_FETCHERS_RESOURCE_FETCHER_IMPL_H_ 6 #define CONTENT_RENDERER_FETCHERS_RESOURCE_FETCHER_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // Options to send to the loader. 64 // Options to send to the loader.
65 blink::WebURLLoaderOptions options_; 65 blink::WebURLLoaderOptions options_;
66 66
67 // Request to send. Released once Start() is called. 67 // Request to send. Released once Start() is called.
68 blink::WebURLRequest request_; 68 blink::WebURLRequest request_;
69 69
70 // Callback when we're done. 70 // Callback when we're done.
71 Callback callback_; 71 Callback callback_;
72 72
73 // Limit how long to wait for the server. 73 // Limit how long to wait for the server.
74 base::OneShotTimer<ResourceFetcherImpl> timeout_timer_; 74 base::OneShotTimer timeout_timer_;
75 75
76 DISALLOW_COPY_AND_ASSIGN(ResourceFetcherImpl); 76 DISALLOW_COPY_AND_ASSIGN(ResourceFetcherImpl);
77 }; 77 };
78 78
79 } // namespace content 79 } // namespace content
80 80
81 #endif // CONTENT_RENDERER_FETCHERS_RESOURCE_FETCHER_IMPL_H_ 81 #endif // CONTENT_RENDERER_FETCHERS_RESOURCE_FETCHER_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/device_sensors/device_sensor_event_pump.h ('k') | content/renderer/pepper/plugin_instance_throttler_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698