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

Unified Diff: extensions/common/extension_resource.h

Issue 12578008: Move CrxFile, FileReader, ExtensionResource to src/extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/common/crx_file.cc ('k') | extensions/common/extension_resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/extension_resource.h
diff --git a/chrome/common/extensions/extension_resource.h b/extensions/common/extension_resource.h
similarity index 94%
rename from chrome/common/extensions/extension_resource.h
rename to extensions/common/extension_resource.h
index a8d632cfd494c8c0d8636eeb7c533185bf90f799..806889e8d31e2371d5ba1cea6dc6dd5bd1de76df 100644
--- a/chrome/common/extensions/extension_resource.h
+++ b/extensions/common/extension_resource.h
@@ -2,13 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_RESOURCE_H_
-#define CHROME_COMMON_EXTENSIONS_EXTENSION_RESOURCE_H_
+#ifndef EXTENSIONS_COMMON_EXTENSION_RESOURCE_H_
+#define EXTENSIONS_COMMON_EXTENSION_RESOURCE_H_
#include <string>
#include "base/files/file_path.h"
+namespace extensions {
+
// Represents a resource inside an extension. For example, an image, or a
// JavaScript file. This is more complicated than just a simple FilePath
// because extension resources can come from multiple physical file locations
@@ -82,4 +84,6 @@ class ExtensionResource {
mutable base::FilePath full_resource_path_;
};
-#endif // CHROME_COMMON_EXTENSIONS_EXTENSION_RESOURCE_H_
+} // namespace extensions
+
+#endif // EXTENSIONS_COMMON_EXTENSION_RESOURCE_H_
« no previous file with comments | « extensions/common/crx_file.cc ('k') | extensions/common/extension_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698