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

Side by Side Diff: chrome/common/extensions/extension_file_util.h

Issue 23257005: Move Feature and Manifest to top-level extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 4 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 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_FILE_UTIL_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_FILE_UTIL_H_
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_FILE_UTIL_H_ 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_FILE_UTIL_H_
7 7
8 #include <map>
8 #include <string> 9 #include <string>
9 #include <map>
10 10
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "chrome/common/extensions/manifest.h"
13 #include "chrome/common/extensions/message_bundle.h" 12 #include "chrome/common/extensions/message_bundle.h"
13 #include "extensions/common/manifest.h"
14 14
15 class ExtensionIconSet; 15 class ExtensionIconSet;
16 class GURL; 16 class GURL;
17 17
18 namespace base { 18 namespace base {
19 class DictionaryValue; 19 class DictionaryValue;
20 class FilePath; 20 class FilePath;
21 } 21 }
22 22
23 namespace extensions { 23 namespace extensions {
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 base::FilePath GetInstallTempDir(const base::FilePath& extensions_dir); 142 base::FilePath GetInstallTempDir(const base::FilePath& extensions_dir);
143 143
144 // Helper function to delete files. This is used to avoid ugly casts which 144 // Helper function to delete files. This is used to avoid ugly casts which
145 // would be necessary with PostMessage since base::Delete is overloaded. 145 // would be necessary with PostMessage since base::Delete is overloaded.
146 // TODO(skerner): Make a version of Delete that is not overloaded in file_util. 146 // TODO(skerner): Make a version of Delete that is not overloaded in file_util.
147 void DeleteFile(const base::FilePath& path, bool recursive); 147 void DeleteFile(const base::FilePath& path, bool recursive);
148 148
149 } // namespace extension_file_util 149 } // namespace extension_file_util
150 150
151 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_FILE_UTIL_H_ 151 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_builder.h ('k') | chrome/common/extensions/extension_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698