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

Side by Side Diff: chrome/browser/chromeos/file_system_provider/fileapi/backend_delegate.cc

Issue 559063002: Remove webkit/browser/, point everything to storage/browser/ instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clean up DEPS per feedback Created 6 years, 3 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 "chrome/browser/chromeos/file_system_provider/fileapi/backend_delegate. h" 5 #include "chrome/browser/chromeos/file_system_provider/fileapi/backend_delegate. h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "chrome/browser/chromeos/file_system_provider/fileapi/buffering_file_st ream_reader.h" 8 #include "chrome/browser/chromeos/file_system_provider/fileapi/buffering_file_st ream_reader.h"
9 #include "chrome/browser/chromeos/file_system_provider/fileapi/file_stream_reade r.h" 9 #include "chrome/browser/chromeos/file_system_provider/fileapi/file_stream_reade r.h"
10 #include "chrome/browser/chromeos/file_system_provider/fileapi/file_stream_write r.h" 10 #include "chrome/browser/chromeos/file_system_provider/fileapi/file_stream_write r.h"
11 #include "chrome/browser/chromeos/file_system_provider/fileapi/provider_async_fi le_util.h" 11 #include "chrome/browser/chromeos/file_system_provider/fileapi/provider_async_fi le_util.h"
12 #include "content/public/browser/browser_thread.h" 12 #include "content/public/browser/browser_thread.h"
13 #include "webkit/browser/blob/file_stream_reader.h" 13 #include "storage/browser/blob/file_stream_reader.h"
14 #include "webkit/browser/fileapi/file_stream_writer.h" 14 #include "storage/browser/fileapi/file_stream_writer.h"
15 #include "webkit/browser/fileapi/file_system_url.h" 15 #include "storage/browser/fileapi/file_system_url.h"
16 16
17 using content::BrowserThread; 17 using content::BrowserThread;
18 18
19 namespace chromeos { 19 namespace chromeos {
20 namespace file_system_provider { 20 namespace file_system_provider {
21 namespace { 21 namespace {
22 22
23 // Size of the stream reader internal buffer. At most this number of bytes will 23 // Size of the stream reader internal buffer. At most this number of bytes will
24 // be read ahead of the requested data. 24 // be read ahead of the requested data.
25 const int kReaderBufferSize = 512 * 1024; // 512KB. 25 const int kReaderBufferSize = 512 * 1024; // 512KB.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 void BackendDelegate::GetRedirectURLForContents( 72 void BackendDelegate::GetRedirectURLForContents(
73 const storage::FileSystemURL& url, 73 const storage::FileSystemURL& url,
74 const storage::URLCallback& callback) { 74 const storage::URLCallback& callback) {
75 DCHECK_CURRENTLY_ON(BrowserThread::IO); 75 DCHECK_CURRENTLY_ON(BrowserThread::IO);
76 DCHECK_EQ(storage::kFileSystemTypeProvided, url.type()); 76 DCHECK_EQ(storage::kFileSystemTypeProvided, url.type());
77 callback.Run(GURL()); 77 callback.Run(GURL());
78 } 78 }
79 79
80 } // namespace file_system_provider 80 } // namespace file_system_provider
81 } // namespace chromeos 81 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698