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

Side by Side Diff: chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc

Issue 148913005: Create fileapi/ subdirectory under c/b/cros/drive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 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/chromeos/drive/webkit_file_stream_reader_impl.h" 5 #include "chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.h "
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/threading/thread.h" 12 #include "base/threading/thread.h"
13 #include "base/time/time.h" 13 #include "base/time/time.h"
14 #include "chrome/browser/chromeos/drive/fake_file_system.h" 14 #include "chrome/browser/chromeos/drive/fake_file_system.h"
15 #include "chrome/browser/chromeos/drive/file_system_interface.h" 15 #include "chrome/browser/chromeos/drive/file_system_interface.h"
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 base::Time::FromInternalValue(1))); 199 base::Time::FromInternalValue(1)));
200 200
201 net::TestInt64CompletionCallback callback; 201 net::TestInt64CompletionCallback callback;
202 int64 result = reader->GetLength(callback.callback()); 202 int64 result = reader->GetLength(callback.callback());
203 result = callback.GetResult(result); 203 result = callback.GetResult(result);
204 EXPECT_EQ(net::ERR_UPLOAD_FILE_CHANGED, result); 204 EXPECT_EQ(net::ERR_UPLOAD_FILE_CHANGED, result);
205 } 205 }
206 206
207 } // namespace internal 207 } // namespace internal
208 } // namespace drive 208 } // namespace drive
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698