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

Unified Diff: components/crx_file/crx_file.h

Issue 474633005: Componentize component_updater: Split crx_file code off into its own component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove shared library export Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/crx_file/constants.h ('k') | components/crx_file/crx_file.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/crx_file/crx_file.h
diff --git a/extensions/common/crx_file.h b/components/crx_file/crx_file.h
similarity index 94%
rename from extensions/common/crx_file.h
rename to components/crx_file/crx_file.h
index d7c33ab2c2fcae6ac2710f92a365d902901c1738..aba4d73f7a531a6847e0bd728ff37e8ab1616d3b 100644
--- a/extensions/common/crx_file.h
+++ b/components/crx_file/crx_file.h
@@ -2,14 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef EXTENSIONS_COMMON_CRX_FILE_H_
-#define EXTENSIONS_COMMON_CRX_FILE_H_
+#ifndef COMPONENTS_CRX_FILE_CRX_FILE_H_
+#define COMPONENTS_CRX_FILE_CRX_FILE_H_
#include <sys/types.h>
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
-namespace extensions {
+namespace crx_file {
// CRX files have a header that includes a magic key, version number, and
// some signature sizing information. Use CrxFile object to validate whether
@@ -74,6 +74,6 @@ class CrxFile {
static bool HeaderIsValid(const Header& header, Error* error);
};
-} // namespace extensions
+} // namespace crx_file
-#endif // EXTENSIONS_COMMON_CRX_FILE_H_
+#endif // COMPONENTS_CRX_FILE_CRX_FILE_H_
« no previous file with comments | « components/crx_file/constants.h ('k') | components/crx_file/crx_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698