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 "chrome/test/ppapi/ppapi_test.h" | 5 #include "chrome/test/ppapi/ppapi_test.h" |
6 | 6 |
| 7 #include <stdint.h> |
| 8 |
7 #include "base/command_line.h" | 9 #include "base/command_line.h" |
8 #include "base/files/file_util.h" | 10 #include "base/files/file_util.h" |
9 #include "base/location.h" | 11 #include "base/location.h" |
10 #include "base/path_service.h" | 12 #include "base/path_service.h" |
11 #include "base/single_thread_task_runner.h" | 13 #include "base/single_thread_task_runner.h" |
12 #include "base/strings/string_util.h" | 14 #include "base/strings/string_util.h" |
13 #include "base/strings/stringprintf.h" | 15 #include "base/strings/stringprintf.h" |
14 #include "base/thread_task_runner_handle.h" | 16 #include "base/thread_task_runner_handle.h" |
| 17 #include "build/build_config.h" |
15 #include "chrome/browser/chrome_notification_types.h" | 18 #include "chrome/browser/chrome_notification_types.h" |
16 #include "chrome/browser/content_settings/host_content_settings_map_factory.h" | 19 #include "chrome/browser/content_settings/host_content_settings_map_factory.h" |
17 #include "chrome/browser/infobars/infobar_service.h" | 20 #include "chrome/browser/infobars/infobar_service.h" |
18 #include "chrome/browser/profiles/profile.h" | 21 #include "chrome/browser/profiles/profile.h" |
19 #include "chrome/browser/ui/browser.h" | 22 #include "chrome/browser/ui/browser.h" |
20 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 23 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
21 #include "chrome/common/chrome_paths.h" | 24 #include "chrome/common/chrome_paths.h" |
22 #include "chrome/common/chrome_switches.h" | 25 #include "chrome/common/chrome_switches.h" |
23 #include "chrome/test/base/test_switches.h" | 26 #include "chrome/test/base/test_switches.h" |
24 #include "chrome/test/base/ui_test_utils.h" | 27 #include "chrome/test/base/ui_test_utils.h" |
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
437 const std::string& base, | 440 const std::string& base, |
438 const std::string& test_case) { | 441 const std::string& test_case) { |
439 return base::StringPrintf("%smode=nacl_newlib&testcase=%s", base.c_str(), | 442 return base::StringPrintf("%smode=nacl_newlib&testcase=%s", base.c_str(), |
440 test_case.c_str()); | 443 test_case.c_str()); |
441 } | 444 } |
442 | 445 |
443 void PPAPIBrokerInfoBarTest::SetUpOnMainThread() { | 446 void PPAPIBrokerInfoBarTest::SetUpOnMainThread() { |
444 // The default content setting for the PPAPI broker is ASK. We purposefully | 447 // The default content setting for the PPAPI broker is ASK. We purposefully |
445 // don't call PPAPITestBase::SetUpOnMainThread() to keep it that way. | 448 // don't call PPAPITestBase::SetUpOnMainThread() to keep it that way. |
446 } | 449 } |
OLD | NEW |