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_path.h" | 7 #include "base/file_path.h" |
8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
9 #include "base/stringprintf.h" | 9 #include "base/stringprintf.h" |
10 #include "chrome/browser/extensions/bundle_installer.h" | 10 #include "chrome/browser/extensions/bundle_installer.h" |
11 #include "chrome/browser/extensions/extension_apitest.h" | 11 #include "chrome/browser/extensions/extension_apitest.h" |
12 #include "chrome/browser/extensions/extension_function_test_utils.h" | 12 #include "chrome/browser/extensions/extension_function_test_utils.h" |
13 #include "chrome/browser/extensions/extension_install_dialog.h" | 13 #include "chrome/browser/extensions/extension_install_dialog.h" |
| 14 #include "chrome/browser/extensions/extension_install_prompt.h" |
14 #include "chrome/browser/extensions/extension_install_ui.h" | 15 #include "chrome/browser/extensions/extension_install_ui.h" |
15 #include "chrome/browser/extensions/extension_service.h" | 16 #include "chrome/browser/extensions/extension_service.h" |
16 #include "chrome/browser/extensions/api/webstore_private/webstore_private_api.h" | 17 #include "chrome/browser/extensions/api/webstore_private/webstore_private_api.h" |
17 #include "chrome/browser/extensions/webstore_installer.h" | 18 #include "chrome/browser/extensions/webstore_installer.h" |
18 #include "chrome/browser/gpu_blacklist.h" | 19 #include "chrome/browser/gpu_blacklist.h" |
19 #include "chrome/browser/profiles/profile.h" | 20 #include "chrome/browser/profiles/profile.h" |
20 #include "chrome/browser/ui/browser.h" | 21 #include "chrome/browser/ui/browser.h" |
21 #include "chrome/common/chrome_notification_types.h" | 22 #include "chrome/common/chrome_notification_types.h" |
22 #include "chrome/common/chrome_switches.h" | 23 #include "chrome/common/chrome_switches.h" |
23 #include "chrome/test/base/test_launcher_utils.h" | 24 #include "chrome/test/base/test_launcher_utils.h" |
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
452 blacklist->UpdateGpuDataManager(); | 453 blacklist->UpdateGpuDataManager(); |
453 GpuFeatureType type = | 454 GpuFeatureType type = |
454 content::GpuDataManager::GetInstance()->GetGpuFeatureType(); | 455 content::GpuDataManager::GetInstance()->GetGpuFeatureType(); |
455 EXPECT_EQ(type, content::GPU_FEATURE_TYPE_WEBGL); | 456 EXPECT_EQ(type, content::GPU_FEATURE_TYPE_WEBGL); |
456 | 457 |
457 bool webgl_allowed = false; | 458 bool webgl_allowed = false; |
458 RunTest(webgl_allowed); | 459 RunTest(webgl_allowed); |
459 } | 460 } |
460 | 461 |
461 } // namespace extensions | 462 } // namespace extensions |
OLD | NEW |