OLD | NEW |
1 // Copyright 2008, Google Inc. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // All rights reserved. | |
3 // | |
4 // Redistribution and use in source and binary forms, with or without | |
5 // modification, are permitted provided that the following conditions are | |
6 // met: | |
7 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | |
8 // 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 |
9 // found in the LICENSE file. | 3 // found in the LICENSE file. |
10 | 4 |
11 #include "chrome/test/ui/npapi_test_helper.h" | 5 #include "chrome/test/ui/npapi_test_helper.h" |
12 | 6 |
13 #include "base/file_util.h" | 7 #include "base/file_util.h" |
14 #include "base/test/test_file_util.h" | 8 #include "base/test/test_file_util.h" |
15 #include "chrome/common/chrome_constants.h" | 9 #include "chrome/common/chrome_constants.h" |
16 #include "chrome/common/chrome_switches.h" | 10 #include "chrome/common/chrome_switches.h" |
17 #include "webkit/glue/plugins/plugin_list.h" | 11 #include "webkit/plugins/npapi/plugin_list.h" |
18 | 12 |
19 namespace npapi_test { | 13 namespace npapi_test { |
20 const char kTestCompleteCookie[] = "status"; | 14 const char kTestCompleteCookie[] = "status"; |
21 const char kTestCompleteSuccess[] = "OK"; | 15 const char kTestCompleteSuccess[] = "OK"; |
22 } // namespace npapi_test. | 16 } // namespace npapi_test. |
23 | 17 |
24 NPAPITesterBase::NPAPITesterBase() { | 18 NPAPITesterBase::NPAPITesterBase() { |
25 } | 19 } |
26 | 20 |
27 void NPAPITesterBase::SetUp() { | 21 void NPAPITesterBase::SetUp() { |
(...skipping 16 matching lines...) Expand all Loading... |
44 void NPAPIVisiblePluginTester::SetUp() { | 38 void NPAPIVisiblePluginTester::SetUp() { |
45 show_window_ = true; | 39 show_window_ = true; |
46 NPAPITesterBase::SetUp(); | 40 NPAPITesterBase::SetUp(); |
47 } | 41 } |
48 | 42 |
49 // NPAPIIncognitoTester members. | 43 // NPAPIIncognitoTester members. |
50 void NPAPIIncognitoTester::SetUp() { | 44 void NPAPIIncognitoTester::SetUp() { |
51 launch_arguments_.AppendSwitch(switches::kIncognito); | 45 launch_arguments_.AppendSwitch(switches::kIncognito); |
52 NPAPITesterBase::SetUp(); | 46 NPAPITesterBase::SetUp(); |
53 } | 47 } |
OLD | NEW |