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

Side by Side Diff: chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache_unittest.cc

Issue 184583008: Fix IWYU in base/files/file.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 9 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 "base/files/file_path.h"
5 #include "base/json/json_reader.h" 6 #include "base/json/json_reader.h"
6 #include "chrome/browser/local_discovery/storage/privet_filesystem_attribute_cac he.h" 7 #include "chrome/browser/local_discovery/storage/privet_filesystem_attribute_cac he.h"
7 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
8 9
9 namespace local_discovery { 10 namespace local_discovery {
10 11
11 namespace { 12 namespace {
12 13
13 const char kPrivetStorageJSON[] = 14 const char kPrivetStorageJSON[] =
14 "{" 15 "{"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 EXPECT_EQ(12345, info_baz->size); 54 EXPECT_EQ(12345, info_baz->size);
54 55
55 const base::File::Info* info_notfound = cache_.GetFileInfo( 56 const base::File::Info* info_notfound = cache_.GetFileInfo(
56 base::FilePath(FILE_PATH_LITERAL("/test/path/foo/notfound.txt"))); 57 base::FilePath(FILE_PATH_LITERAL("/test/path/foo/notfound.txt")));
57 EXPECT_EQ(NULL, info_notfound); 58 EXPECT_EQ(NULL, info_notfound);
58 } 59 }
59 60
60 } // namespace 61 } // namespace
61 62
62 } // namespace local_discovery 63 } // namespace local_discovery
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.h ('k') | device/hid/hid_connection_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698