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/path_service.h" | 7 #include "base/path_service.h" |
8 #include "base/process_util.h" | 8 #include "base/process_util.h" |
9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
10 #include "chrome/browser/plugin_prefs.h" | 10 #include "chrome/browser/plugins/plugin_prefs.h" |
11 #include "chrome/browser/ui/browser.h" | 11 #include "chrome/browser/ui/browser.h" |
12 #include "chrome/browser/ui/browser_tabstrip.h" | 12 #include "chrome/browser/ui/browser_tabstrip.h" |
13 #include "chrome/test/base/in_process_browser_test.h" | 13 #include "chrome/test/base/in_process_browser_test.h" |
14 #include "chrome/test/base/ui_test_utils.h" | 14 #include "chrome/test/base/ui_test_utils.h" |
15 #include "content/public/browser/browser_thread.h" | 15 #include "content/public/browser/browser_thread.h" |
16 #include "content/public/browser/browser_child_process_host_iterator.h" | 16 #include "content/public/browser/browser_child_process_host_iterator.h" |
17 #include "content/public/browser/child_process_data.h" | 17 #include "content/public/browser/child_process_data.h" |
18 #include "content/public/browser/plugin_service.h" | 18 #include "content/public/browser/plugin_service.h" |
19 #include "content/public/common/content_paths.h" | 19 #include "content/public/common/content_paths.h" |
20 #include "content/public/test/browser_test_utils.h" | 20 #include "content/public/test/browser_test_utils.h" |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 std::vector<webkit::WebPluginInfo> plugins = GetPlugins(); | 211 std::vector<webkit::WebPluginInfo> plugins = GetPlugins(); |
212 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(expected); ++i) { | 212 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(expected); ++i) { |
213 size_t j = 0; | 213 size_t j = 0; |
214 for (; j < plugins.size(); ++j) { | 214 for (; j < plugins.size(); ++j) { |
215 if (plugins[j].name == ASCIIToUTF16(expected[i])) | 215 if (plugins[j].name == ASCIIToUTF16(expected[i])) |
216 break; | 216 break; |
217 } | 217 } |
218 ASSERT_TRUE(j != plugins.size()) << "Didn't find " << expected[i]; | 218 ASSERT_TRUE(j != plugins.size()) << "Didn't find " << expected[i]; |
219 } | 219 } |
220 } | 220 } |
OLD | NEW |