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

Unified Diff: chrome/service/cloud_print/cloud_print_helpers_unittest.cc

Issue 9443007: Add Chrome To Mobile Service and Views Page Action. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nix animation change, init icon visible, fix mac id test, DCHECK token, etc. Created 8 years, 9 months 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 side-by-side diff with in-line comments
Download patch
Index: chrome/service/cloud_print/cloud_print_helpers_unittest.cc
diff --git a/chrome/service/cloud_print/cloud_print_helpers_unittest.cc b/chrome/service/cloud_print/cloud_print_helpers_unittest.cc
index f2a83971807c6843d3b154bf99c492cd203d0861..a85514e0f5ff12d6777e4fec4b98af37229b1da5 100644
--- a/chrome/service/cloud_print/cloud_print_helpers_unittest.cc
+++ b/chrome/service/cloud_print/cloud_print_helpers_unittest.cc
@@ -1,10 +1,11 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/service/cloud_print/cloud_print_helpers.h"
#include "base/stringprintf.h"
+#include "chrome/common/cloud_print/cloud_print_helpers.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
@@ -82,10 +83,8 @@ void CheckURLs(const GURL& server_base_url) {
expected_url_base.c_str());
EXPECT_EQ(expected_url, url.spec());
- url = CloudPrintHelpers::GetUrlForGetAuthCode(
- server_base_url,
- "fooclientid.apps.googleusercontent.com",
- "test_proxy");
+ url = cloud_print::GetUrlForGetAuthCode(server_base_url,
+ "fooclientid.apps.googleusercontent.com", "test_proxy");
expected_url = base::StringPrintf(
"%screaterobot?oauth_client_id=fooclientid.apps.googleusercontent.com&"
"proxy=test_proxy", expected_url_base.c_str());
@@ -100,4 +99,3 @@ TEST(CloudPrintHelpersTest, URLGetters) {
CheckURLs(GURL("http://www.myprinterserver.com"));
CheckURLs(GURL("http://www.myprinterserver.com/"));
}
-

Powered by Google App Engine
This is Rietveld 408576698