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 <vector> | 5 #include <vector> |
6 | 6 |
7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "base/stringprintf.h" | 9 #include "base/stringprintf.h" |
10 #include "base/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
11 #include "chrome/browser/extensions/api/webstore_private/webstore_private_api.h" | 11 #include "chrome/browser/extensions/api/webstore_private/webstore_private_api.h" |
12 #include "chrome/browser/extensions/extension_apitest.h" | 12 #include "chrome/browser/extensions/extension_apitest.h" |
13 #include "chrome/browser/extensions/extension_function_test_utils.h" | 13 #include "chrome/browser/extensions/extension_function_test_utils.h" |
14 #include "chrome/browser/extensions/extension_install_prompt.h" | 14 #include "chrome/browser/extensions/extension_install_prompt.h" |
15 #include "chrome/browser/extensions/extension_install_ui.h" | 15 #include "chrome/browser/extensions/extension_install_ui.h" |
16 #include "chrome/browser/extensions/extension_service.h" | 16 #include "chrome/browser/extensions/extension_service.h" |
17 #include "chrome/browser/extensions/webstore_installer.h" | 17 #include "chrome/browser/extensions/webstore_installer.h" |
18 #include "chrome/browser/profiles/profile.h" | 18 #include "chrome/browser/profiles/profile.h" |
19 #include "chrome/browser/ui/browser.h" | 19 #include "chrome/browser/ui/browser.h" |
20 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 20 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 content::GpuDataManager::GetInstance()->InitializeForTesting( | 356 content::GpuDataManager::GetInstance()->InitializeForTesting( |
357 json_blacklist, gpu_info); | 357 json_blacklist, gpu_info); |
358 EXPECT_TRUE(content::GpuDataManager::GetInstance()->IsFeatureBlacklisted( | 358 EXPECT_TRUE(content::GpuDataManager::GetInstance()->IsFeatureBlacklisted( |
359 gpu::GPU_FEATURE_TYPE_WEBGL)); | 359 gpu::GPU_FEATURE_TYPE_WEBGL)); |
360 | 360 |
361 bool webgl_allowed = false; | 361 bool webgl_allowed = false; |
362 RunTest(webgl_allowed); | 362 RunTest(webgl_allowed); |
363 } | 363 } |
364 | 364 |
365 } // namespace extensions | 365 } // namespace extensions |
OLD | NEW |