| 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/"));
|
| }
|
| -
|
|
|