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

Unified Diff: sync/internal_api/attachments/attachment_uploader_impl_unittest.cc

Issue 722503002: Use uint16 for port numbers, misc edition (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Self-review Created 6 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 side-by-side diff with in-line comments
Download patch
Index: sync/internal_api/attachments/attachment_uploader_impl_unittest.cc
diff --git a/sync/internal_api/attachments/attachment_uploader_impl_unittest.cc b/sync/internal_api/attachments/attachment_uploader_impl_unittest.cc
index 1213b9faaa47df0a15b868217c6c1d2134f3f286..31275bbcfbb958abe149d372a35ac551dd102848 100644
--- a/sync/internal_api/attachments/attachment_uploader_impl_unittest.cc
+++ b/sync/internal_api/attachments/attachment_uploader_impl_unittest.cc
@@ -275,7 +275,7 @@ void AttachmentUploaderImplTest::SetUp() {
base::Bind(&RequestHandler::HandleRequest,
base::Unretained(request_handler_.get())));
- GURL url(base::StringPrintf("http://localhost:%d/", server_.port()));
+ GURL url(base::StringPrintf("http://localhost:%u/", server_.port()));
Peter Kasting 2014/11/12 23:53:55 I don't think the distinction here actually matter
cpu_(ooo_6.6-7.5) 2014/11/14 18:37:06 I imagine printf'ing is not the best practice here
Peter Kasting 2014/11/14 20:36:45 I think we could construct "http://localhost/" and
token_service_.reset(new MockOAuth2TokenService);
scoped_refptr<OAuth2TokenServiceRequest::TokenServiceProvider>

Powered by Google App Engine
This is Rietveld 408576698