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

Side by Side Diff: chrome/browser/chromeos/file_manager/fileapi_util.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 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/file_manager/fileapi_util.h" 5 #include "chrome/browser/chromeos/file_manager/fileapi_util.h"
6 6
7 #include "base/files/file.h" 7 #include "base/files/file.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "chrome/browser/chromeos/drive/file_system_util.h" 9 #include "chrome/browser/chromeos/drive/file_system_util.h"
10 #include "chrome/browser/chromeos/file_manager/app_id.h" 10 #include "chrome/browser/chromeos/file_manager/app_id.h"
11 #include "chrome/browser/extensions/extension_util.h" 11 #include "chrome/browser/extensions/extension_util.h"
12 #include "chrome/browser/profiles/profile.h" 12 #include "chrome/browser/profiles/profile.h"
13 #include "content/public/browser/browser_thread.h" 13 #include "content/public/browser/browser_thread.h"
14 #include "content/public/browser/render_view_host.h" 14 #include "content/public/browser/render_view_host.h"
15 #include "content/public/browser/site_instance.h" 15 #include "content/public/browser/site_instance.h"
16 #include "content/public/browser/storage_partition.h" 16 #include "content/public/browser/storage_partition.h"
17 #include "extensions/common/extension.h" 17 #include "extensions/common/extension.h"
18 #include "google_apis/drive/task_util.h" 18 #include "google_apis/drive/task_util.h"
19 #include "net/base/escape.h" 19 #include "net/base/escape.h"
20 #include "storage/browser/fileapi/file_system_context.h"
21 #include "storage/browser/fileapi/open_file_system_mode.h"
20 #include "storage/common/fileapi/file_system_util.h" 22 #include "storage/common/fileapi/file_system_util.h"
21 #include "url/gurl.h" 23 #include "url/gurl.h"
22 #include "webkit/browser/fileapi/file_system_context.h"
23 #include "webkit/browser/fileapi/open_file_system_mode.h"
24 24
25 using content::BrowserThread; 25 using content::BrowserThread;
26 26
27 namespace file_manager { 27 namespace file_manager {
28 namespace util { 28 namespace util {
29 29
30 namespace { 30 namespace {
31 31
32 GURL ConvertRelativeFilePathToFileSystemUrl(const base::FilePath& relative_path, 32 GURL ConvertRelativeFilePathToFileSystemUrl(const base::FilePath& relative_path,
33 const std::string& extension_id) { 33 const std::string& extension_id) {
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 BrowserThread::PostTask( 359 BrowserThread::PostTask(
360 BrowserThread::IO, FROM_HERE, 360 BrowserThread::IO, FROM_HERE,
361 base::Bind(&CheckIfDirectoryExistsOnIOThread, 361 base::Bind(&CheckIfDirectoryExistsOnIOThread,
362 file_system_context, 362 file_system_context,
363 url, 363 url,
364 google_apis::CreateRelayCallback(callback))); 364 google_apis::CreateRelayCallback(callback)));
365 } 365 }
366 366
367 } // namespace util 367 } // namespace util
368 } // namespace file_manager 368 } // namespace file_manager
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/file_manager/fileapi_util.h ('k') | chrome/browser/chromeos/file_manager/filesystem_api_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698