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

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

Issue 15239002: Move Extension and PermissionsData to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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 #ifndef CHROME_BROWSER_EXTENSIONS_API_FILE_HANDLERS_APP_FILE_HANDLER_UTIL_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_FILE_HANDLERS_APP_FILE_HANDLER_UTIL_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_FILE_HANDLERS_APP_FILE_HANDLER_UTIL_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_FILE_HANDLERS_APP_FILE_HANDLER_UTIL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
11 #include <vector> 11 #include <vector>
12 12
13 #include "chrome/common/extensions/api/file_handlers/file_handlers_parser.h" 13 #include "chrome/common/extensions/api/file_handlers/file_handlers_parser.h"
14 #include "chrome/common/extensions/extension.h" 14 #include "extensions/common/extension.h"
15 15
16 class Profile; 16 class Profile;
17 17
18 namespace extensions { 18 namespace extensions {
19 class ExtensionPrefs; 19 class ExtensionPrefs;
20 20
21 // TODO(benwells): move this to platform_apps namespace. 21 // TODO(benwells): move this to platform_apps namespace.
22 namespace app_file_handler_util { 22 namespace app_file_handler_util {
23 23
24 // A set of pairs of path and its corresponding MIME type. 24 // A set of pairs of path and its corresponding MIME type.
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 const base::Callback<void(const base::FilePath&)>& on_failure); 73 const base::Callback<void(const base::FilePath&)>& on_failure);
74 74
75 // Returns whether |extension| has the fileSystem.write permission. 75 // Returns whether |extension| has the fileSystem.write permission.
76 bool HasFileSystemWritePermission(const Extension* extension); 76 bool HasFileSystemWritePermission(const Extension* extension);
77 77
78 } // namespace app_file_handler_util 78 } // namespace app_file_handler_util
79 79
80 } // namespace extensions 80 } // namespace extensions
81 81
82 #endif // CHROME_BROWSER_EXTENSIONS_API_FILE_HANDLERS_APP_FILE_HANDLER_UTIL_H_ 82 #endif // CHROME_BROWSER_EXTENSIONS_API_FILE_HANDLERS_APP_FILE_HANDLER_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698