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

Side by Side Diff: chrome/browser/chromeos/drive/file_system_util.cc

Issue 15859007: Move browser-specific FileAPI code from webkit/fileapi to webkit/browser/fileapi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: dump_file_system build fix Created 7 years, 6 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/file_system_util.h" 5 #include "chrome/browser/chromeos/drive/file_system_util.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 10 matching lines...) Expand all
21 #include "chrome/browser/chromeos/drive/drive_integration_service.h" 21 #include "chrome/browser/chromeos/drive/drive_integration_service.h"
22 #include "chrome/browser/chromeos/drive/file_system_interface.h" 22 #include "chrome/browser/chromeos/drive/file_system_interface.h"
23 #include "chrome/browser/chromeos/drive/file_write_helper.h" 23 #include "chrome/browser/chromeos/drive/file_write_helper.h"
24 #include "chrome/browser/profiles/profile.h" 24 #include "chrome/browser/profiles/profile.h"
25 #include "chrome/common/chrome_constants.h" 25 #include "chrome/common/chrome_constants.h"
26 #include "chrome/common/chrome_paths_internal.h" 26 #include "chrome/common/chrome_paths_internal.h"
27 #include "chrome/common/url_constants.h" 27 #include "chrome/common/url_constants.h"
28 #include "chromeos/chromeos_constants.h" 28 #include "chromeos/chromeos_constants.h"
29 #include "content/public/browser/browser_thread.h" 29 #include "content/public/browser/browser_thread.h"
30 #include "net/base/escape.h" 30 #include "net/base/escape.h"
31 #include "webkit/fileapi/file_system_url.h" 31 #include "webkit/browser/fileapi/file_system_url.h"
32 32
33 using content::BrowserThread; 33 using content::BrowserThread;
34 34
35 namespace drive { 35 namespace drive {
36 namespace util { 36 namespace util {
37 37
38 namespace { 38 namespace {
39 39
40 const char kDriveSpecialRootPath[] = "/special"; 40 const char kDriveSpecialRootPath[] = "/special";
41 41
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 GURL ReadUrlFromGDocFile(const base::FilePath& file_path) { 438 GURL ReadUrlFromGDocFile(const base::FilePath& file_path) {
439 return GURL(ReadStringFromGDocFile(file_path, "url")); 439 return GURL(ReadStringFromGDocFile(file_path, "url"));
440 } 440 }
441 441
442 std::string ReadResourceIdFromGDocFile(const base::FilePath& file_path) { 442 std::string ReadResourceIdFromGDocFile(const base::FilePath& file_path) {
443 return ReadStringFromGDocFile(file_path, "resource_id"); 443 return ReadStringFromGDocFile(file_path, "resource_id");
444 } 444 }
445 445
446 } // namespace util 446 } // namespace util
447 } // namespace drive 447 } // namespace drive
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/file_system_proxy.cc ('k') | chrome/browser/chromeos/drive/file_system_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698