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

Side by Side Diff: content/browser/fileapi/external_mount_points_unittest.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 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 "storage/browser/fileapi/external_mount_points.h" 5 #include "storage/browser/fileapi/external_mount_points.h"
6 6
7 #include <stddef.h>
8
7 #include <string> 9 #include <string>
8 10
9 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/macros.h"
10 #include "storage/browser/fileapi/file_system_url.h" 13 #include "storage/browser/fileapi/file_system_url.h"
11 #include "storage/common/fileapi/file_system_mount_option.h" 14 #include "storage/common/fileapi/file_system_mount_option.h"
12 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
13 16
14 #define FPL FILE_PATH_LITERAL 17 #define FPL FILE_PATH_LITERAL
15 18
16 #if defined(FILE_PATH_USES_DRIVE_LETTERS) 19 #if defined(FILE_PATH_USES_DRIVE_LETTERS)
17 #define DRIVE FPL("C:") 20 #define DRIVE FPL("C:")
18 #else 21 #else
19 #define DRIVE 22 #define DRIVE
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 EXPECT_EQ(storage::FlushPolicy::NO_FLUSH_ON_COMPLETION, 496 EXPECT_EQ(storage::FlushPolicy::NO_FLUSH_ON_COMPLETION,
494 option.flush_policy()); 497 option.flush_policy());
495 EXPECT_TRUE(mount_points->CrackVirtualPath( 498 EXPECT_TRUE(mount_points->CrackVirtualPath(
496 base::FilePath(FPL("sync/file")), &name, &type, &cracked_id, &path, 499 base::FilePath(FPL("sync/file")), &name, &type, &cracked_id, &path,
497 &option)); 500 &option));
498 EXPECT_EQ(storage::FlushPolicy::FLUSH_ON_COMPLETION, option.flush_policy()); 501 EXPECT_EQ(storage::FlushPolicy::FLUSH_ON_COMPLETION, option.flush_policy());
499 } 502 }
500 503
501 } // namespace content 504 } // namespace content
502 505
OLDNEW
« no previous file with comments | « content/browser/fileapi/dragged_file_util_unittest.cc ('k') | content/browser/fileapi/file_system_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698