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

Side by Side Diff: webkit/common/fileapi/file_system_util.cc

Issue 16434010: Use a direct include of strings headers in webkit/, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « webkit/common/dom_storage/dom_storage_types.h ('k') | webkit/common/user_agent/user_agent.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "webkit/common/fileapi/file_system_util.h" 5 #include "webkit/common/fileapi/file_system_util.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/string_util.h" 11 #include "base/strings/string_util.h"
12 #include "base/strings/sys_string_conversions.h" 12 #include "base/strings/sys_string_conversions.h"
13 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
14 #include "googleurl/src/gurl.h" 14 #include "googleurl/src/gurl.h"
15 #include "webkit/base/origin_url_conversions.h" 15 #include "webkit/base/origin_url_conversions.h"
16 16
17 namespace fileapi { 17 namespace fileapi {
18 18
19 const char kPersistentDir[] = "/persistent"; 19 const char kPersistentDir[] = "/persistent";
20 const char kTemporaryDir[] = "/temporary"; 20 const char kTemporaryDir[] = "/temporary";
21 const char kIsolatedDir[] = "/isolated"; 21 const char kIsolatedDir[] = "/isolated";
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 std::string root = GetFileSystemRootURI(origin_url, 363 std::string root = GetFileSystemRootURI(origin_url,
364 kFileSystemTypeExternal).spec(); 364 kFileSystemTypeExternal).spec();
365 if (base::FilePath::FromUTF8Unsafe(mount_name).ReferencesParent()) 365 if (base::FilePath::FromUTF8Unsafe(mount_name).ReferencesParent())
366 return std::string(); 366 return std::string();
367 root.append(mount_name); 367 root.append(mount_name);
368 root.append("/"); 368 root.append("/");
369 return root; 369 return root;
370 } 370 }
371 371
372 } // namespace fileapi 372 } // namespace fileapi
OLDNEW
« no previous file with comments | « webkit/common/dom_storage/dom_storage_types.h ('k') | webkit/common/user_agent/user_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698