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

Side by Side Diff: chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc

Issue 15994002: Move more browser-specific webkit/fileapi code to webkit/browser/fileapi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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/extensions/api/file_handlers/app_file_handler_util.h" 5 #include "chrome/browser/extensions/api/file_handlers/app_file_handler_util.h"
6 6
7 #include "chrome/browser/extensions/extension_prefs.h" 7 #include "chrome/browser/extensions/extension_prefs.h"
8 #include "content/public/browser/child_process_security_policy.h" 8 #include "content/public/browser/child_process_security_policy.h"
9 #include "net/base/mime_util.h" 9 #include "net/base/mime_util.h"
10 #include "webkit/browser/fileapi/isolated_context.h"
10 #include "webkit/fileapi/file_system_types.h" 11 #include "webkit/fileapi/file_system_types.h"
11 #include "webkit/fileapi/isolated_context.h"
12 12
13 namespace extensions { 13 namespace extensions {
14 14
15 namespace app_file_handler_util { 15 namespace app_file_handler_util {
16 16
17 namespace { 17 namespace {
18 // Preference keys 18 // Preference keys
19 19
20 // The file entries that an extension has permission to access. 20 // The file entries that an extension has permission to access.
21 const char kFileEntries[] = "file_entries"; 21 const char kFileEntries[] = "file_entries";
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 } 221 }
222 222
223 void ClearSavedFileEntries(ExtensionPrefs* prefs, 223 void ClearSavedFileEntries(ExtensionPrefs* prefs,
224 const std::string& extension_id) { 224 const std::string& extension_id) {
225 prefs->UpdateExtensionPref(extension_id, kFileEntries, NULL); 225 prefs->UpdateExtensionPref(extension_id, kFileEntries, NULL);
226 } 226 }
227 227
228 } // namespace app_file_handler_util 228 } // namespace app_file_handler_util
229 229
230 } // namespace extensions 230 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698