| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CHROME_TEST_REMOTING_REMOTE_DESKTOP_BROWSERTEST_H_ | 5 #ifndef CHROME_TEST_REMOTING_REMOTE_DESKTOP_BROWSERTEST_H_ |
| 6 #define CHROME_TEST_REMOTING_REMOTE_DESKTOP_BROWSERTEST_H_ | 6 #define CHROME_TEST_REMOTING_REMOTE_DESKTOP_BROWSERTEST_H_ |
| 7 | 7 |
| 8 #include "base/debug/stack_trace.h" | 8 #include "base/debug/stack_trace.h" |
| 9 #include "chrome/browser/apps/app_browsertest_util.h" | 9 #include "chrome/browser/apps/app_browsertest_util.h" |
| 10 #include "chrome/browser/chrome_notification_types.h" | 10 #include "chrome/browser/chrome_notification_types.h" |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 | 50 |
| 51 namespace remoting { | 51 namespace remoting { |
| 52 | 52 |
| 53 class RemoteDesktopBrowserTest : public extensions::PlatformAppBrowserTest { | 53 class RemoteDesktopBrowserTest : public extensions::PlatformAppBrowserTest { |
| 54 public: | 54 public: |
| 55 RemoteDesktopBrowserTest(); | 55 RemoteDesktopBrowserTest(); |
| 56 virtual ~RemoteDesktopBrowserTest(); | 56 virtual ~RemoteDesktopBrowserTest(); |
| 57 | 57 |
| 58 // InProcessBrowserTest Overrides | 58 // InProcessBrowserTest Overrides |
| 59 virtual void SetUp() override; | 59 virtual void SetUp() override; |
| 60 virtual void SetUpOnMainThread() override; | 60 void SetUpOnMainThread() override; |
| 61 | 61 |
| 62 protected: | 62 protected: |
| 63 // InProcessBrowserTest Overrides | 63 // InProcessBrowserTest Overrides |
| 64 virtual void SetUpInProcessBrowserTestFixture() override; | 64 void SetUpInProcessBrowserTestFixture() override; |
| 65 | 65 |
| 66 // InProcessBrowserTest Overrides | 66 // InProcessBrowserTest Overrides |
| 67 virtual void TearDownInProcessBrowserTestFixture() override; | 67 void TearDownInProcessBrowserTestFixture() override; |
| 68 | 68 |
| 69 // The following helpers each perform a simple task. | 69 // The following helpers each perform a simple task. |
| 70 | 70 |
| 71 // Verify the test has access to the internet (specifically google.com) | 71 // Verify the test has access to the internet (specifically google.com) |
| 72 void VerifyInternetAccess(); | 72 void VerifyInternetAccess(); |
| 73 | 73 |
| 74 // Open the client page for the browser test to get status of host actions | 74 // Open the client page for the browser test to get status of host actions |
| 75 void OpenClientBrowserPage(); | 75 void OpenClientBrowserPage(); |
| 76 | 76 |
| 77 // Install the chromoting extension from a crx file. | 77 // Install the chromoting extension from a crx file. |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 372 std::string password_; | 372 std::string password_; |
| 373 std::string me2me_pin_; | 373 std::string me2me_pin_; |
| 374 std::string remote_host_name_; | 374 std::string remote_host_name_; |
| 375 std::string extension_name_; | 375 std::string extension_name_; |
| 376 std::string http_server_; | 376 std::string http_server_; |
| 377 }; | 377 }; |
| 378 | 378 |
| 379 } // namespace remoting | 379 } // namespace remoting |
| 380 | 380 |
| 381 #endif // CHROME_TEST_REMOTING_REMOTE_DESKTOP_BROWSERTEST_H_ | 381 #endif // CHROME_TEST_REMOTING_REMOTE_DESKTOP_BROWSERTEST_H_ |
| OLD | NEW |