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

Side by Side Diff: chrome/browser/chromeos/file_system_provider/provided_file_system_unittest.cc

Issue 258783006: [fsp] Add the getMetadata operation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed a lot. Created 6 years, 7 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 | Annotate | Revision Log
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 // TODO(mtomasz): Move these test cases to operations/unmount_unittest.cc.
6
5 #include <string> 7 #include <string>
6 #include <vector> 8 #include <vector>
7 9
8 #include "base/files/file.h" 10 #include "base/files/file.h"
9 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
10 #include "base/run_loop.h" 12 #include "base/run_loop.h"
11 #include "base/values.h" 13 #include "base/values.h"
12 #include "chrome/browser/chromeos/file_system_provider/mount_path_util.h" 14 #include "chrome/browser/chromeos/file_system_provider/mount_path_util.h"
13 #include "chrome/browser/chromeos/file_system_provider/provided_file_system.h" 15 #include "chrome/browser/chromeos/file_system_provider/provided_file_system.h"
14 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info .h" 16 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info .h"
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 request_id, base::File::FILE_ERROR_NOT_FOUND); 176 request_id, base::File::FILE_ERROR_NOT_FOUND);
175 EXPECT_TRUE(reply_result); 177 EXPECT_TRUE(reply_result);
176 178
177 // Callback should be called. Verify the error code. 179 // Callback should be called. Verify the error code.
178 ASSERT_TRUE(logger.error()); 180 ASSERT_TRUE(logger.error());
179 EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, *logger.error()); 181 EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, *logger.error());
180 } 182 }
181 183
182 } // namespace file_system_provider 184 } // namespace file_system_provider
183 } // namespace chromeos 185 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698