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/command_line.h" | 5 #include "base/command_line.h" |
6 #include "base/file_util.h" | 6 #include "base/file_util.h" |
7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
8 #include "base/path_service.h" | 8 #include "base/path_service.h" |
9 #include "base/string_split.h" | |
10 #include "base/string_util.h" | 9 #include "base/string_util.h" |
| 10 #include "base/strings/string_split.h" |
11 #include "base/threading/sequenced_worker_pool.h" | 11 #include "base/threading/sequenced_worker_pool.h" |
12 #include "chrome/browser/browser_process.h" | 12 #include "chrome/browser/browser_process.h" |
13 #include "chrome/browser/page_cycler/page_cycler.h" | 13 #include "chrome/browser/page_cycler/page_cycler.h" |
14 #include "chrome/browser/profiles/profile.h" | 14 #include "chrome/browser/profiles/profile.h" |
15 #include "chrome/browser/profiles/profile_manager.h" | 15 #include "chrome/browser/profiles/profile_manager.h" |
16 #include "chrome/browser/ui/browser_list.h" | 16 #include "chrome/browser/ui/browser_list.h" |
17 #include "chrome/common/chrome_notification_types.h" | 17 #include "chrome/common/chrome_notification_types.h" |
18 #include "chrome/common/chrome_paths.h" | 18 #include "chrome/common/chrome_paths.h" |
19 #include "chrome/common/chrome_switches.h" | 19 #include "chrome/common/chrome_switches.h" |
20 #include "chrome/test/base/in_process_browser_test.h" | 20 #include "chrome/test/base/in_process_browser_test.h" |
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 ASSERT_EQ(1u, errors.size()); | 385 ASSERT_EQ(1u, errors.size()); |
386 | 386 |
387 std::string expected_error; | 387 std::string expected_error; |
388 expected_error.append("Failed to load the page at: ") | 388 expected_error.append("Failed to load the page at: ") |
389 .append(kCacheMissURL) | 389 .append(kCacheMissURL) |
390 .append(": The requested entry was not found in the cache."); | 390 .append(": The requested entry was not found in the cache."); |
391 | 391 |
392 ASSERT_FALSE(errors[0].compare(expected_error)); | 392 ASSERT_FALSE(errors[0].compare(expected_error)); |
393 } | 393 } |
394 #endif // !defined(OS_CHROMEOS) | 394 #endif // !defined(OS_CHROMEOS) |
OLD | NEW |