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

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

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
5 #include "chrome/browser/chrome_to_mobile/receive/testing_chrome_to_mobile_recei ve.h"
6
7 #include "content/public/test/test_browser_thread.h"
8 #include "net/url_request/url_request_test_util.h"
9
10 const char kTestCloudPrintUrl[] = "http://cloud.print.com";
11
12 ChromeToMobileReceiveTest::ChromeToMobileReceiveTest()
13 : cloud_print_server_url_(GURL(kTestCloudPrintUrl)) {
14 settings_.cloud_print_client_id = "test client id";
15 settings_.oauth2_token_service = NULL;
16 }
17
18 ChromeToMobileReceiveTest::~ChromeToMobileReceiveTest() {
19 }
20
21 void ChromeToMobileReceiveTest::SetUp() {
22 testing::Test::SetUp();
23 test_thread_.reset(new content::TestBrowserThread(content::BrowserThread::UI,
24 &test_loop_));
25 request_context_getter_ = new TestURLRequestContextGetter(
26 test_loop_.message_loop_proxy());
27 settings_.request_context_getter = request_context_getter_;
28 }
OLDNEW
« no previous file with comments | « chrome/browser/chrome_to_mobile/receive/testing_chrome_to_mobile_receive.h ('k') | chrome/browser/chrome_to_mobile_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698