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

Side by Side Diff: components/visitedlink/test/visitedlink_perftest.cc

Issue 546733002: Change base/file_utils.h includes to base/files/file_utils.h in chrome_elf/ and components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include <algorithm> 5 #include <algorithm>
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/file_util.h"
10 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/files/file_util.h"
11 #include "base/memory/shared_memory.h" 11 #include "base/memory/shared_memory.h"
12 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
13 #include "base/test/perf_log.h" 13 #include "base/test/perf_log.h"
14 #include "base/test/perf_time_logger.h" 14 #include "base/test/perf_time_logger.h"
15 #include "base/test/test_file_util.h" 15 #include "base/test/test_file_util.h"
16 #include "base/timer/elapsed_timer.h" 16 #include "base/timer/elapsed_timer.h"
17 #include "components/visitedlink/browser/visitedlink_master.h" 17 #include "components/visitedlink/browser/visitedlink_master.h"
18 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
19 #include "url/gurl.h" 19 #include "url/gurl.h"
20 20
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 cold_sum += cold_load_times[i]; 192 cold_sum += cold_load_times[i];
193 hot_sum += hot_load_times[i]; 193 hot_sum += hot_load_times[i];
194 } 194 }
195 base::LogPerfResult( 195 base::LogPerfResult(
196 "Visited_link_cold_load_time", cold_sum / cold_load_times.size(), "ms"); 196 "Visited_link_cold_load_time", cold_sum / cold_load_times.size(), "ms");
197 base::LogPerfResult( 197 base::LogPerfResult(
198 "Visited_link_hot_load_time", hot_sum / hot_load_times.size(), "ms"); 198 "Visited_link_hot_load_time", hot_sum / hot_load_times.size(), "ms");
199 } 199 }
200 200
201 } // namespace visitedlink 201 } // namespace visitedlink
OLDNEW
« no previous file with comments | « components/visitedlink/browser/visitedlink_master.cc ('k') | components/visitedlink/test/visitedlink_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698