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

Side by Side Diff: content/child/fileapi/webfilesystem_callback_adapters.cc

Issue 16091011: 2nd try: Split webkit_storage target into webkit_storage_{browser,common,renderer} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: splint_link 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 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 "content/child/fileapi/webfilesystem_callback_adapters.h" 5 #include "content/child/fileapi/webfilesystem_callback_adapters.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "googleurl/src/gurl.h" 12 #include "googleurl/src/gurl.h"
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystemCallback s.h" 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystemCallback s.h"
14 #include "third_party/WebKit/public/platform/WebFileInfo.h" 14 #include "third_party/WebKit/public/platform/WebFileInfo.h"
15 #include "third_party/WebKit/public/platform/WebFileSystem.h"
15 #include "third_party/WebKit/public/platform/WebString.h" 16 #include "third_party/WebKit/public/platform/WebString.h"
16 #include "webkit/base/file_path_string_conversions.h" 17 #include "webkit/base/file_path_string_conversions.h"
17 #include "webkit/common/fileapi/directory_entry.h" 18 #include "webkit/common/fileapi/directory_entry.h"
18 #include "webkit/common/fileapi/file_system_util.h" 19 #include "webkit/common/fileapi/file_system_util.h"
19 #include "webkit/glue/webkit_glue.h" 20 #include "webkit/glue/webkit_glue.h"
20 21
21 using WebKit::WebFileInfo; 22 using WebKit::WebFileInfo;
22 using WebKit::WebFileSystemCallbacks; 23 using WebKit::WebFileSystemCallbacks;
23 using WebKit::WebFileSystemEntry; 24 using WebKit::WebFileSystemEntry;
24 using WebKit::WebString; 25 using WebKit::WebString;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 callbacks->didReadDirectory(file_system_entries, has_more); 69 callbacks->didReadDirectory(file_system_entries, has_more);
69 } 70 }
70 71
71 void OpenFileSystemCallbackAdapter( 72 void OpenFileSystemCallbackAdapter(
72 WebKit::WebFileSystemCallbacks* callbacks, 73 WebKit::WebFileSystemCallbacks* callbacks,
73 const std::string& name, const GURL& root) { 74 const std::string& name, const GURL& root) {
74 callbacks->didOpenFileSystem(UTF8ToUTF16(name), root); 75 callbacks->didOpenFileSystem(UTF8ToUTF16(name), root);
75 } 76 }
76 77
77 } // namespace content 78 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698