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

Side by Side Diff: chrome/common/cloud_print/cloud_print_helpers_unittest.cc

Issue 15981010: Use a direct include of strings headers in chrome/common/, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/cloud_print/cloud_print_helpers.h" 5 #include "chrome/common/cloud_print/cloud_print_helpers.h"
6 6
7 #include "base/md5.h" 7 #include "base/md5.h"
8 #include "base/stringprintf.h" 8 #include "base/strings/stringprintf.h"
9 #include "base/sys_info.h" 9 #include "base/sys_info.h"
10 #include "chrome/common/chrome_version_info.h" 10 #include "chrome/common/chrome_version_info.h"
11 #include "googleurl/src/gurl.h" 11 #include "googleurl/src/gurl.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 13
14 namespace cloud_print { 14 namespace cloud_print {
15 15
16 namespace { 16 namespace {
17 17
18 void CheckURLs(const GURL& server_base_url) { 18 void CheckURLs(const GURL& server_base_url) {
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 std::string("__test__tagshash"))); 123 std::string("__test__tagshash")));
124 } 124 }
125 125
126 TEST(CloudPrintHelpersTest, GetCloudPrintAuthHeader) { 126 TEST(CloudPrintHelpersTest, GetCloudPrintAuthHeader) {
127 std::string test_auth("testauth"); 127 std::string test_auth("testauth");
128 EXPECT_EQ("Authorization: OAuth testauth", 128 EXPECT_EQ("Authorization: OAuth testauth",
129 GetCloudPrintAuthHeader(test_auth)); 129 GetCloudPrintAuthHeader(test_auth));
130 } 130 }
131 131
132 } // namespace cloud_print 132 } // namespace cloud_print
OLDNEW
« no previous file with comments | « chrome/common/cloud_print/cloud_print_helpers.cc ('k') | chrome/common/content_settings_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698