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

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

Issue 14895013: Move webkit/fileapi/file_system_mount_point_provider.h 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 "chrome/browser/extensions/extension_service.h" 8 #include "chrome/browser/extensions/extension_service.h"
9 #include "chrome/browser/extensions/extension_system.h" 9 #include "chrome/browser/extensions/extension_system.h"
10 #include "content/public/browser/child_process_security_policy.h" 10 #include "content/public/browser/child_process_security_policy.h"
11 #include "net/base/mime_util.h" 11 #include "net/base/mime_util.h"
12 #include "webkit/browser/fileapi/isolated_context.h"
12 #include "webkit/fileapi/file_system_types.h" 13 #include "webkit/fileapi/file_system_types.h"
13 #include "webkit/fileapi/isolated_context.h"
14 14
15 namespace extensions { 15 namespace extensions {
16 16
17 namespace app_file_handler_util { 17 namespace app_file_handler_util {
18 18
19 namespace { 19 namespace {
20 // Preference keys 20 // Preference keys
21 21
22 // The file entries that an extension has permission to access. 22 // The file entries that an extension has permission to access.
23 const char kFileEntries[] = "file_entries"; 23 const char kFileEntries[] = "file_entries";
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 } 223 }
224 224
225 void ClearSavedFileEntries(ExtensionPrefs* prefs, 225 void ClearSavedFileEntries(ExtensionPrefs* prefs,
226 const std::string& extension_id) { 226 const std::string& extension_id) {
227 prefs->UpdateExtensionPref(extension_id, kFileEntries, NULL); 227 prefs->UpdateExtensionPref(extension_id, kFileEntries, NULL);
228 } 228 }
229 229
230 } // namespace app_file_handler_util 230 } // namespace app_file_handler_util
231 231
232 } // namespace extensions 232 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698