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

Unified Diff: content/browser/net/url_request_slow_download_job.h

Issue 9117038: Convert all remaining explicit LeakyLazyInstanceTraits users to ::Leaky (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/net/url_request_slow_download_job.h
diff --git a/content/browser/net/url_request_slow_download_job.h b/content/browser/net/url_request_slow_download_job.h
index 5ee698019ede534f8f4886d4a7c270b4d2d1e9d0..842ac9bfeaef3b02455055e2657a625f7f49f9f5 100644
--- a/content/browser/net/url_request_slow_download_job.h
+++ b/content/browser/net/url_request_slow_download_job.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This class simulates a slow download. This used in a UI test to test the
@@ -80,9 +80,7 @@ class URLRequestSlowDownloadJob : public net::URLRequestJob {
// requests in |pending_requests_|.
static void FinishPendingRequests();
typedef std::set<URLRequestSlowDownloadJob*> SlowJobsSet;
- static base::LazyInstance<SlowJobsSet,
- base::LeakyLazyInstanceTraits<SlowJobsSet> >
- pending_requests_;
+ static base::LazyInstance<SlowJobsSet>::Leaky pending_requests_;
void StartAsync();
« no previous file with comments | « content/browser/debugger/render_view_devtools_agent_host.cc ('k') | content/browser/net/url_request_slow_download_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698