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

Side by Side Diff: sync/internal_api/attachments/attachment_downloader_impl_unittest.cc

Issue 1545553003: Switch to standard integer types in sync/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "sync/internal_api/public/attachments/attachment_downloader_impl.h" 5 #include "sync/internal_api/public/attachments/attachment_downloader_impl.h"
6 6
7 #include <stdint.h>
8
7 #include <map> 9 #include <map>
8 10
9 #include "base/bind.h" 11 #include "base/bind.h"
10 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
11 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
12 #include "base/run_loop.h" 14 #include "base/run_loop.h"
13 #include "base/test/histogram_tester.h" 15 #include "base/test/histogram_tester.h"
14 #include "base/thread_task_runner_handle.h" 16 #include "base/thread_task_runner_handle.h"
15 #include "google_apis/gaia/fake_oauth2_token_service.h" 17 #include "google_apis/gaia/fake_oauth2_token_service.h"
16 #include "google_apis/gaia/gaia_constants.h" 18 #include "google_apis/gaia/gaia_constants.h"
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 raw += "\n"; 532 raw += "\n";
531 std::replace(raw.begin(), raw.end(), '\n', '\0'); 533 std::replace(raw.begin(), raw.end(), '\n', '\0');
532 scoped_refptr<net::HttpResponseHeaders> headers( 534 scoped_refptr<net::HttpResponseHeaders> headers(
533 new net::HttpResponseHeaders(raw)); 535 new net::HttpResponseHeaders(raw));
534 uint32_t extracted; 536 uint32_t extracted;
535 ASSERT_FALSE( 537 ASSERT_FALSE(
536 AttachmentDownloaderImpl::ExtractCrc32c(headers.get(), &extracted)); 538 AttachmentDownloaderImpl::ExtractCrc32c(headers.get(), &extracted));
537 } 539 }
538 540
539 } // namespace syncer 541 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/internal_api/attachments/attachment_downloader_impl.cc ('k') | sync/internal_api/attachments/attachment_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698