| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 using extensions::Extension; | 47 using extensions::Extension; |
| 48 | 48 |
| 49 namespace remoting { | 49 namespace remoting { |
| 50 | 50 |
| 51 class RemoteDesktopBrowserTest : public extensions::PlatformAppBrowserTest { | 51 class RemoteDesktopBrowserTest : public extensions::PlatformAppBrowserTest { |
| 52 public: | 52 public: |
| 53 RemoteDesktopBrowserTest(); | 53 RemoteDesktopBrowserTest(); |
| 54 virtual ~RemoteDesktopBrowserTest(); | 54 virtual ~RemoteDesktopBrowserTest(); |
| 55 | 55 |
| 56 // InProcessBrowserTest Overrides | 56 // InProcessBrowserTest Overrides |
| 57 virtual void SetUp() OVERRIDE; | 57 virtual void SetUp() override; |
| 58 virtual void SetUpOnMainThread() OVERRIDE; | 58 virtual void SetUpOnMainThread() override; |
| 59 | 59 |
| 60 protected: | 60 protected: |
| 61 // InProcessBrowserTest Overrides | 61 // InProcessBrowserTest Overrides |
| 62 virtual void SetUpInProcessBrowserTestFixture() OVERRIDE; | 62 virtual void SetUpInProcessBrowserTestFixture() override; |
| 63 | 63 |
| 64 // InProcessBrowserTest Overrides | 64 // InProcessBrowserTest Overrides |
| 65 virtual void TearDownInProcessBrowserTestFixture() OVERRIDE; | 65 virtual void TearDownInProcessBrowserTestFixture() override; |
| 66 | 66 |
| 67 // The following helpers each perform a simple task. | 67 // The following helpers each perform a simple task. |
| 68 | 68 |
| 69 // Verify the test has access to the internet (specifically google.com) | 69 // Verify the test has access to the internet (specifically google.com) |
| 70 void VerifyInternetAccess(); | 70 void VerifyInternetAccess(); |
| 71 | 71 |
| 72 // Open the client page for the browser test to get status of host actions | 72 // Open the client page for the browser test to get status of host actions |
| 73 void OpenClientBrowserPage(); | 73 void OpenClientBrowserPage(); |
| 74 | 74 |
| 75 // Install the chromoting extension from a crx file. | 75 // Install the chromoting extension from a crx file. |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 367 std::string password_; | 367 std::string password_; |
| 368 std::string me2me_pin_; | 368 std::string me2me_pin_; |
| 369 std::string remote_host_name_; | 369 std::string remote_host_name_; |
| 370 std::string extension_name_; | 370 std::string extension_name_; |
| 371 std::string http_server_; | 371 std::string http_server_; |
| 372 }; | 372 }; |
| 373 | 373 |
| 374 } // namespace remoting | 374 } // namespace remoting |
| 375 | 375 |
| 376 #endif // CHROME_TEST_REMOTING_REMOTE_DESKTOP_BROWSERTEST_H_ | 376 #endif // CHROME_TEST_REMOTING_REMOTE_DESKTOP_BROWSERTEST_H_ |
| OLD | NEW |