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

Side by Side Diff: chrome/browser/sync_file_system/file_change_unittest.cc

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/browser/sync_file_system/file_change.h" 5 #include "chrome/browser/sync_file_system/file_change.h"
6 6
7 #include "base/basictypes.h" 7 #include <stddef.h>
8
8 #include "base/logging.h" 9 #include "base/logging.h"
9 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
10 11
11 namespace sync_file_system { 12 namespace sync_file_system {
12 13
13 namespace { 14 namespace {
14 15
15 FileChange AddOrUpdateFile() { 16 FileChange AddOrUpdateFile() {
16 return FileChange(FileChange::FILE_CHANGE_ADD_OR_UPDATE, SYNC_FILE_TYPE_FILE); 17 return FileChange(FileChange::FILE_CHANGE_ADD_OR_UPDATE, SYNC_FILE_TYPE_FILE);
17 } 18 }
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 DeleteFile(), 128 DeleteFile(),
128 AddOrUpdateFile(), 129 AddOrUpdateFile(),
129 DeleteFile(), 130 DeleteFile(),
130 }; 131 };
131 const FileChange kExpected4[] = { DeleteFile() }; 132 const FileChange kExpected4[] = { DeleteFile() };
132 CreateList(&list, kInput4); 133 CreateList(&list, kInput4);
133 VerifyList(list, kExpected4); 134 VerifyList(list, kExpected4);
134 } 135 }
135 136
136 } // namespace sync_file_system 137 } // namespace sync_file_system
OLDNEW
« no previous file with comments | « chrome/browser/sync_file_system/file_change.h ('k') | chrome/browser/sync_file_system/file_status_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698