OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef EXTENSIONS_SHELL_TEST_SHELL_APITEST_H_ | 5 #ifndef EXTENSIONS_SHELL_TEST_SHELL_APITEST_H_ |
6 #define EXTENSIONS_SHELL_TEST_SHELL_APITEST_H_ | 6 #define EXTENSIONS_SHELL_TEST_SHELL_APITEST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "extensions/shell/test/shell_test.h" | 11 #include "extensions/shell/test/shell_test.h" |
11 | 12 |
12 namespace extensions { | 13 namespace extensions { |
13 | 14 |
14 class Extension; | 15 class Extension; |
15 | 16 |
16 // Base class for app shell browser API tests that load an app/extension | 17 // Base class for app shell browser API tests that load an app/extension |
17 // and wait for a success message from the chrome.test API. | 18 // and wait for a success message from the chrome.test API. |
18 class ShellApiTest : public AppShellTest { | 19 class ShellApiTest : public AppShellTest { |
19 public: | 20 public: |
(...skipping 19 matching lines...) Expand all Loading... |
39 // If it failed, what was the error message? | 40 // If it failed, what was the error message? |
40 std::string message_; | 41 std::string message_; |
41 | 42 |
42 private: | 43 private: |
43 DISALLOW_COPY_AND_ASSIGN(ShellApiTest); | 44 DISALLOW_COPY_AND_ASSIGN(ShellApiTest); |
44 }; | 45 }; |
45 | 46 |
46 } // namespace extensions | 47 } // namespace extensions |
47 | 48 |
48 #endif // EXTENSIONS_SHELL_TEST_SHELL_APITEST_H_ | 49 #endif // EXTENSIONS_SHELL_TEST_SHELL_APITEST_H_ |
OLD | NEW |