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

Side by Side Diff: content/browser/fileapi/isolated_context_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, 11 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 <stddef.h>
6
5 #include <string> 7 #include <string>
6 8
7 #include "base/basictypes.h"
8 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/macros.h"
9 #include "storage/browser/fileapi/file_system_url.h" 11 #include "storage/browser/fileapi/file_system_url.h"
10 #include "storage/browser/fileapi/isolated_context.h" 12 #include "storage/browser/fileapi/isolated_context.h"
11 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
12 14
13 #define FPL(x) FILE_PATH_LITERAL(x) 15 #define FPL(x) FILE_PATH_LITERAL(x)
14 16
15 #if defined(FILE_PATH_USES_DRIVE_LETTERS) 17 #if defined(FILE_PATH_USES_DRIVE_LETTERS)
16 #define DRIVE FPL("C:") 18 #define DRIVE FPL("C:")
17 #else 19 #else
18 #define DRIVE 20 #define DRIVE
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 FileSystemMountOption cracked_option; 354 FileSystemMountOption cracked_option;
353 ASSERT_TRUE(isolated_context()->CrackVirtualPath( 355 ASSERT_TRUE(isolated_context()->CrackVirtualPath(
354 whole_virtual_path, &cracked_id, NULL, &cracked_inner_id, 356 whole_virtual_path, &cracked_id, NULL, &cracked_inner_id,
355 &cracked_path, &cracked_option)); 357 &cracked_path, &cracked_option));
356 ASSERT_EQ(database_fsid, cracked_id); 358 ASSERT_EQ(database_fsid, cracked_id);
357 ASSERT_EQ(test_virtual_path, cracked_path); 359 ASSERT_EQ(test_virtual_path, cracked_path);
358 EXPECT_TRUE(cracked_inner_id.empty()); 360 EXPECT_TRUE(cracked_inner_id.empty());
359 } 361 }
360 362
361 } // namespace content 363 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698