OLD | NEW |
(Empty) | |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 #ifndef CHROME_BROWSER_CHROME_TO_MOBILE_RECEIVE_TESTING_CHROME_TO_MOBILE_RECEIVE
_H_ |
| 5 #define CHROME_BROWSER_CHROME_TO_MOBILE_RECEIVE_TESTING_CHROME_TO_MOBILE_RECEIVE
_H_ |
| 6 |
| 7 #include "base/message_loop.h" |
| 8 #include "base/message_loop_proxy.h" |
| 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "chrome/browser/chrome_to_mobile/common/cloud_print_request.h" |
| 11 #include "chrome/browser/chrome_to_mobile/common/test_cloud_print_request_factor
y.h" |
| 12 #include "googleurl/src/gurl.h" |
| 13 #include "testing/gtest/include/gtest/gtest.h" |
| 14 |
| 15 namespace content { |
| 16 class TestBrowserThread; |
| 17 } // namespace content |
| 18 |
| 19 namespace net { |
| 20 class URLRequestContextGetter; |
| 21 } // namespace net |
| 22 |
| 23 // Base class for testing chrome-to-mobile receive classes. |
| 24 class ChromeToMobileReceiveTest : public testing::Test { |
| 25 public: |
| 26 ChromeToMobileReceiveTest(); |
| 27 virtual ~ChromeToMobileReceiveTest(); |
| 28 |
| 29 virtual void SetUp() OVERRIDE; |
| 30 |
| 31 protected: |
| 32 MessageLoop test_loop_; |
| 33 scoped_ptr<content::TestBrowserThread> test_thread_; |
| 34 chrome_to_mobile::TestCloudPrintRequestFactory factory_; |
| 35 GURL cloud_print_server_url_; |
| 36 scoped_refptr<net::URLRequestContextGetter> request_context_getter_; |
| 37 chrome_to_mobile::CloudPrintRequest::Settings settings_; |
| 38 }; |
| 39 |
| 40 #endif // CHROME_BROWSER_CHROME_TO_MOBILE_RECEIVE_TESTING_CHROME_TO_MOBILE_RECE
IVE_H_ |
OLD | NEW |