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

Side by Side Diff: webkit/browser/fileapi/sandbox_isolated_origin_database.cc

Issue 529273002: Change base/file_utils.h includes to base/files/file_utils.h in gin, google_apis, printing, sql, ui… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 "webkit/browser/fileapi/sandbox_isolated_origin_database.h" 5 #include "webkit/browser/fileapi/sandbox_isolated_origin_database.h"
6 6
7 #include "base/file_util.h" 7 #include "base/files/file_util.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "webkit/browser/fileapi/sandbox_origin_database.h" 9 #include "webkit/browser/fileapi/sandbox_origin_database.h"
10 10
11 namespace storage { 11 namespace storage {
12 12
13 // Special directory name for isolated origin. 13 // Special directory name for isolated origin.
14 const base::FilePath::CharType 14 const base::FilePath::CharType
15 SandboxIsolatedOriginDatabase::kObsoleteOriginDirectory[] = 15 SandboxIsolatedOriginDatabase::kObsoleteOriginDirectory[] =
16 FILE_PATH_LITERAL("iso"); 16 FILE_PATH_LITERAL("iso");
17 17
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 base::FilePath directory_name; 71 base::FilePath directory_name;
72 if (database->GetPathForOrigin(origin, &directory_name)) { 72 if (database->GetPathForOrigin(origin, &directory_name)) {
73 base::FilePath origin_directory = 73 base::FilePath origin_directory =
74 file_system_directory.Append(directory_name); 74 file_system_directory.Append(directory_name);
75 base::DeleteFile(origin_directory, true /* recursive */); 75 base::DeleteFile(origin_directory, true /* recursive */);
76 base::Move(isolated_directory, origin_directory); 76 base::Move(isolated_directory, origin_directory);
77 } 77 }
78 } 78 }
79 79
80 } // namespace storage 80 } // namespace storage
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc ('k') | webkit/browser/fileapi/sandbox_origin_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698