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

Side by Side Diff: content/browser/loader/async_resource_handler.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, 3 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) 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 #ifndef CONTENT_BROWSER_LOADER_ASYNC_RESOURCE_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_LOADER_ASYNC_RESOURCE_HANDLER_H_
6 #define CONTENT_BROWSER_LOADER_ASYNC_RESOURCE_HANDLER_H_ 6 #define CONTENT_BROWSER_LOADER_ASYNC_RESOURCE_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 74
75 bool did_defer_; 75 bool did_defer_;
76 76
77 bool has_checked_for_sufficient_resources_; 77 bool has_checked_for_sufficient_resources_;
78 bool sent_received_response_msg_; 78 bool sent_received_response_msg_;
79 bool sent_first_data_msg_; 79 bool sent_first_data_msg_;
80 80
81 uint64 last_upload_position_; 81 uint64 last_upload_position_;
82 bool waiting_for_upload_progress_ack_; 82 bool waiting_for_upload_progress_ack_;
83 base::TimeTicks last_upload_ticks_; 83 base::TimeTicks last_upload_ticks_;
84 base::RepeatingTimer<AsyncResourceHandler> progress_timer_; 84 base::RepeatingTimer progress_timer_;
85 85
86 int64_t reported_transfer_size_; 86 int64_t reported_transfer_size_;
87 87
88 DISALLOW_COPY_AND_ASSIGN(AsyncResourceHandler); 88 DISALLOW_COPY_AND_ASSIGN(AsyncResourceHandler);
89 }; 89 };
90 90
91 } // namespace content 91 } // namespace content
92 92
93 #endif // CONTENT_BROWSER_LOADER_ASYNC_RESOURCE_HANDLER_H_ 93 #endif // CONTENT_BROWSER_LOADER_ASYNC_RESOURCE_HANDLER_H_
OLDNEW
« no previous file with comments | « content/browser/indexed_db/indexed_db_transaction.h ('k') | content/browser/loader/detachable_resource_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698