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

Side by Side Diff: net/disk_cache/disk_cache_test_util.cc

Issue 6793008: Replacing base::DIR_TEMP with ScopedTempDir when appropriate. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Paweł's comments on Round 2. Created 9 years, 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
Paweł Hajdan Jr. 2011/04/12 08:32:02 nit: It's probably better to remove this file from
Mike West 2011/04/12 12:00:05 Yup. I reverted the actual changes to the file, bu
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 #include "net/disk_cache/disk_cache_test_util.h" 5 #include "net/disk_cache/disk_cache_test_util.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/message_loop_proxy.h" 9 #include "base/message_loop_proxy.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
11 #include "net/base/net_errors.h" 11 #include "net/base/net_errors.h"
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 } else { 178 } else {
179 // Not finished yet. See if we have to abort. 179 // Not finished yet. See if we have to abort.
180 if (last_ == g_cache_tests_received) 180 if (last_ == g_cache_tests_received)
181 num_iterations_++; 181 num_iterations_++;
182 else 182 else
183 last_ = g_cache_tests_received; 183 last_ = g_cache_tests_received;
184 if (40 == num_iterations_) 184 if (40 == num_iterations_)
185 MessageLoop::current()->Quit(); 185 MessageLoop::current()->Quit();
186 } 186 }
187 } 187 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698