Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(434)

Side by Side Diff: chrome/browser/chrome_to_mobile/receive/testing_chrome_to_mobile_receive.h

Issue 11038063: Support chrome_to_mobile job receiving Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix format Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698