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

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: Put shared CloudPrint consts/helpers in chrome/common/; use CloudPrintURL. 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..8fa4926d662597473a824ad187d2de94549564c9 100644
--- a/chrome/service/cloud_print/cloud_print_helpers_unittest.cc
+++ b/chrome/service/cloud_print/cloud_print_helpers_unittest.cc
@@ -5,6 +5,7 @@
#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());

Powered by Google App Engine
This is Rietveld 408576698