| 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_TEST_RESULT_CATCHER_H_ | 5 #ifndef EXTENSIONS_TEST_RESULT_CATCHER_H_ |
| 6 #define EXTENSIONS_TEST_RESULT_CATCHER_H_ | 6 #define EXTENSIONS_TEST_RESULT_CATCHER_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 // A sequential list of pass/fail notifications from the test extension(s). | 50 // A sequential list of pass/fail notifications from the test extension(s). |
| 51 std::deque<bool> results_; | 51 std::deque<bool> results_; |
| 52 | 52 |
| 53 // If it failed, what was the error message? | 53 // If it failed, what was the error message? |
| 54 std::deque<std::string> messages_; | 54 std::deque<std::string> messages_; |
| 55 std::string message_; | 55 std::string message_; |
| 56 | 56 |
| 57 // If non-NULL, we will listen to events from this BrowserContext only. | 57 // If non-NULL, we will listen to events from this BrowserContext only. |
| 58 content::BrowserContext* browser_context_restriction_; | 58 content::BrowserContext* browser_context_restriction_; |
| 59 | 59 |
| 60 // Only set if we're in a nested message loop waiting for results from | 60 // Only set if we're in a nested run loop waiting for results from |
| 61 // the extension. | 61 // the extension. |
| 62 base::Closure quit_closure_; | 62 base::Closure quit_closure_; |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 } // namespace extensions | 65 } // namespace extensions |
| 66 | 66 |
| 67 #endif // EXTENSIONS_TEST_RESULT_CATCHER_H_ | 67 #endif // EXTENSIONS_TEST_RESULT_CATCHER_H_ |
| OLD | NEW |