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

Side by Side Diff: net/url_request/url_fetcher_core.h

Issue 2733283002: Require explicit selection of traits for LazyInstance (Closed)
Patch Set: l10n again Created 3 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
« no previous file with comments | « net/ssl/client_key_store.h ('k') | net/url_request/url_fetcher_core.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 NET_URL_REQUEST_URL_FETCHER_CORE_H_ 5 #ifndef NET_URL_REQUEST_URL_FETCHER_CORE_H_
6 #define NET_URL_REQUEST_URL_FETCHER_CORE_H_ 6 #define NET_URL_REQUEST_URL_FETCHER_CORE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 // Timer to poll the progress of uploading for POST and PUT requests. 339 // Timer to poll the progress of uploading for POST and PUT requests.
340 // When crbug.com/119629 is fixed, scoped_ptr is not necessary here. 340 // When crbug.com/119629 is fixed, scoped_ptr is not necessary here.
341 std::unique_ptr<base::RepeatingTimer> upload_progress_checker_timer_; 341 std::unique_ptr<base::RepeatingTimer> upload_progress_checker_timer_;
342 // Number of bytes sent so far. 342 // Number of bytes sent so far.
343 int64_t current_upload_bytes_; 343 int64_t current_upload_bytes_;
344 // Number of bytes received so far. 344 // Number of bytes received so far.
345 int64_t current_response_bytes_; 345 int64_t current_response_bytes_;
346 // Total expected bytes to receive (-1 if it cannot be determined). 346 // Total expected bytes to receive (-1 if it cannot be determined).
347 int64_t total_response_bytes_; 347 int64_t total_response_bytes_;
348 348
349 static base::LazyInstance<Registry> g_registry; 349 static base::LazyInstance<Registry>::DestructorAtExit g_registry;
350 350
351 DISALLOW_COPY_AND_ASSIGN(URLFetcherCore); 351 DISALLOW_COPY_AND_ASSIGN(URLFetcherCore);
352 }; 352 };
353 353
354 } // namespace net 354 } // namespace net
355 355
356 #endif // NET_URL_REQUEST_URL_FETCHER_CORE_H_ 356 #endif // NET_URL_REQUEST_URL_FETCHER_CORE_H_
OLDNEW
« no previous file with comments | « net/ssl/client_key_store.h ('k') | net/url_request/url_fetcher_core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698