| 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/files/file_path.h" | 7 #include "base/files/file_path.h" |
| 8 #include "base/files/file_util.h" | 8 #include "base/files/file_util.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/strings/stringprintf.h" | |
| 11 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
| 12 #include "build/build_config.h" | 11 #include "build/build_config.h" |
| 13 #include "chrome/browser/chrome_notification_types.h" | 12 #include "chrome/browser/chrome_notification_types.h" |
| 14 #include "chrome/browser/extensions/api/webstore_private/webstore_private_api.h" | 13 #include "chrome/browser/extensions/api/webstore_private/webstore_private_api.h" |
| 15 #include "chrome/browser/extensions/extension_apitest.h" | 14 #include "chrome/browser/extensions/extension_apitest.h" |
| 16 #include "chrome/browser/extensions/extension_function_test_utils.h" | 15 #include "chrome/browser/extensions/extension_function_test_utils.h" |
| 17 #include "chrome/browser/extensions/extension_install_prompt.h" | 16 #include "chrome/browser/extensions/extension_install_prompt.h" |
| 18 #include "chrome/browser/extensions/extension_service.h" | 17 #include "chrome/browser/extensions/extension_service.h" |
| 19 #include "chrome/browser/extensions/webstore_installer.h" | 18 #include "chrome/browser/extensions/webstore_installer.h" |
| 20 #include "chrome/browser/profiles/profile.h" | 19 #include "chrome/browser/profiles/profile.h" |
| (...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 436 content::GpuDataManager::GetInstance()->InitializeForTesting( | 435 content::GpuDataManager::GetInstance()->InitializeForTesting( |
| 437 json_blacklist, gpu_info); | 436 json_blacklist, gpu_info); |
| 438 EXPECT_TRUE(content::GpuDataManager::GetInstance()->IsFeatureBlacklisted( | 437 EXPECT_TRUE(content::GpuDataManager::GetInstance()->IsFeatureBlacklisted( |
| 439 gpu::GPU_FEATURE_TYPE_WEBGL)); | 438 gpu::GPU_FEATURE_TYPE_WEBGL)); |
| 440 | 439 |
| 441 bool webgl_allowed = false; | 440 bool webgl_allowed = false; |
| 442 RunTest(webgl_allowed); | 441 RunTest(webgl_allowed); |
| 443 } | 442 } |
| 444 | 443 |
| 445 } // namespace extensions | 444 } // namespace extensions |
| OLD | NEW |