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 <stddef.h> |
| 6 |
5 #include <vector> | 7 #include <vector> |
6 | 8 |
7 #include "base/bind.h" | 9 #include "base/bind.h" |
8 #include "base/callback.h" | 10 #include "base/callback.h" |
9 #include "base/command_line.h" | 11 #include "base/command_line.h" |
10 #include "base/files/file_util.h" | 12 #include "base/files/file_util.h" |
| 13 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
12 #include "base/path_service.h" | 15 #include "base/path_service.h" |
13 #include "base/prefs/pref_service.h" | 16 #include "base/prefs/pref_service.h" |
14 #include "base/process/process.h" | 17 #include "base/process/process.h" |
15 #include "base/strings/utf_string_conversions.h" | 18 #include "base/strings/utf_string_conversions.h" |
| 19 #include "build/build_config.h" |
16 #include "chrome/browser/plugins/plugin_prefs.h" | 20 #include "chrome/browser/plugins/plugin_prefs.h" |
17 #include "chrome/browser/profiles/profile.h" | 21 #include "chrome/browser/profiles/profile.h" |
18 #include "chrome/browser/ui/browser.h" | 22 #include "chrome/browser/ui/browser.h" |
19 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 23 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
20 #include "chrome/test/base/in_process_browser_test.h" | 24 #include "chrome/test/base/in_process_browser_test.h" |
21 #include "chrome/test/base/ui_test_utils.h" | 25 #include "chrome/test/base/ui_test_utils.h" |
22 #include "content/public/browser/browser_child_process_host_iterator.h" | 26 #include "content/public/browser/browser_child_process_host_iterator.h" |
23 #include "content/public/browser/browser_thread.h" | 27 #include "content/public/browser/browser_thread.h" |
24 #include "content/public/browser/child_process_data.h" | 28 #include "content/public/browser/child_process_data.h" |
25 #include "content/public/browser/plugin_service.h" | 29 #include "content/public/browser/plugin_service.h" |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 for (size_t i = 0; i < arraysize(expected); ++i) { | 263 for (size_t i = 0; i < arraysize(expected); ++i) { |
260 size_t j = 0; | 264 size_t j = 0; |
261 for (; j < plugins.size(); ++j) { | 265 for (; j < plugins.size(); ++j) { |
262 if (plugins[j].name == base::ASCIIToUTF16(expected[i])) | 266 if (plugins[j].name == base::ASCIIToUTF16(expected[i])) |
263 break; | 267 break; |
264 } | 268 } |
265 ASSERT_TRUE(j != plugins.size()) << "Didn't find " << expected[i]; | 269 ASSERT_TRUE(j != plugins.size()) << "Didn't find " << expected[i]; |
266 } | 270 } |
267 } | 271 } |
268 #endif | 272 #endif |
OLD | NEW |