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

Unified Diff: extensions/common/extension_resource.cc

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/extension_resource.h ('k') | extensions/common/extension_resource_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/extension_resource.cc
diff --git a/chrome/common/extensions/extension_resource.cc b/extensions/common/extension_resource.cc
similarity index 97%
rename from chrome/common/extensions/extension_resource.cc
rename to extensions/common/extension_resource.cc
index eded1ac2e0d07d6fc9e7560d5dc121927b52335c..5a70539cce60483882390e91ec467bfd72870a32 100644
--- a/chrome/common/extensions/extension_resource.cc
+++ b/extensions/common/extension_resource.cc
@@ -2,12 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/common/extensions/extension_resource.h"
+#include "extensions/common/extension_resource.h"
#include "base/file_util.h"
#include "base/logging.h"
#include "base/threading/thread_restrictions.h"
+namespace extensions {
+
ExtensionResource::ExtensionResource() : follow_symlinks_anywhere_(false) {
}
@@ -120,3 +122,5 @@ bool ExtensionResource::ComparePathWithDefault(
return false;
}
}
+
+} // namespace extensions
« no previous file with comments | « extensions/common/extension_resource.h ('k') | extensions/common/extension_resource_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698