OLD | NEW |
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 #include "base/files/file_path.h" | 5 #include "base/files/file_path.h" |
6 #include "base/path_service.h" | 6 #include "base/path_service.h" |
7 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
8 #include "base/test/test_timeouts.h" | 8 #include "base/test/test_timeouts.h" |
9 #include "chrome/common/automation_constants.h" | 9 #include "chrome/common/automation_constants.h" |
10 #include "chrome/common/chrome_paths.h" | 10 #include "chrome/common/chrome_paths.h" |
11 #include "chrome/test/automation/tab_proxy.h" | 11 #include "chrome/test/automation/tab_proxy.h" |
12 #include "chrome/test/perf/perf_test.h" | 12 #include "chrome/test/perf/perf_test.h" |
13 #include "chrome/test/ui/javascript_test_util.h" | 13 #include "chrome/test/ui/javascript_test_util.h" |
14 #include "chrome/test/ui/ui_perf_test.h" | 14 #include "chrome/test/ui/ui_perf_test.h" |
15 #include "net/base/net_util.h" | 15 #include "net/base/net_util.h" |
| 16 #include "testing/perf/perf_test.h" |
16 #include "url/gurl.h" | 17 #include "url/gurl.h" |
17 | 18 |
18 namespace { | 19 namespace { |
19 | 20 |
20 static const base::FilePath::CharType kStartFile[] = | 21 static const base::FilePath::CharType kStartFile[] = |
21 FILE_PATH_LITERAL("perf_test.html"); | 22 FILE_PATH_LITERAL("perf_test.html"); |
22 | 23 |
23 class IndexedDBTest : public UIPerfTest { | 24 class IndexedDBTest : public UIPerfTest { |
24 public: | 25 public: |
25 typedef std::map<std::string, std::string> ResultsMap; | 26 typedef std::map<std::string, std::string> ResultsMap; |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 | 109 |
109 RunTest(); | 110 RunTest(); |
110 } | 111 } |
111 | 112 |
112 TEST_F(IndexedDBReferenceTest, Perf) { | 113 TEST_F(IndexedDBReferenceTest, Perf) { |
113 | 114 |
114 RunTest(); | 115 RunTest(); |
115 } | 116 } |
116 | 117 |
117 } // namespace | 118 } // namespace |
OLD | NEW |