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

Side by Side Diff: sync/internal_api/attachments/on_disk_attachment_store_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/on_disk_attachment_store.h" 5 #include "sync/internal_api/public/attachments/on_disk_attachment_store.h"
6 6
7 #include <stdint.h>
8
7 #include <string> 9 #include <string>
8 10
9 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
10 #include "base/files/file_util.h" 12 #include "base/files/file_util.h"
11 #include "base/files/scoped_temp_dir.h" 13 #include "base/files/scoped_temp_dir.h"
12 #include "base/message_loop/message_loop.h" 14 #include "base/message_loop/message_loop.h"
13 #include "base/run_loop.h" 15 #include "base/run_loop.h"
14 #include "base/thread_task_runner_handle.h" 16 #include "base/thread_task_runner_handle.h"
15 #include "base/time/time.h" 17 #include "base/time/time.h"
16 #include "sync/internal_api/attachments/attachment_store_test_template.h" 18 #include "sync/internal_api/attachments/attachment_store_test_template.h"
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 store_->ReadMetadata( 513 store_->ReadMetadata(
512 base::Bind(&OnDiskAttachmentStoreSpecificTest::CopyResultMetadata, 514 base::Bind(&OnDiskAttachmentStoreSpecificTest::CopyResultMetadata,
513 base::Unretained(this), &metadata_result, &metadata_list)); 515 base::Unretained(this), &metadata_result, &metadata_list));
514 RunLoop(); 516 RunLoop();
515 EXPECT_EQ(AttachmentStore::SUCCESS, create_result); 517 EXPECT_EQ(AttachmentStore::SUCCESS, create_result);
516 EXPECT_EQ(AttachmentStore::UNSPECIFIED_ERROR, metadata_result); 518 EXPECT_EQ(AttachmentStore::UNSPECIFIED_ERROR, metadata_result);
517 EXPECT_EQ(2U, metadata_list->size()); 519 EXPECT_EQ(2U, metadata_list->size());
518 } 520 }
519 521
520 } // namespace syncer 522 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/internal_api/attachments/on_disk_attachment_store.cc ('k') | sync/internal_api/base_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698