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

Unified Diff: extensions/common/manifest_handlers/background_info.h

Issue 65123002: Move chrome/common/extensions/background_info.h to src/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase2 background_info 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/common/file_util_unittest.cc ('k') | extensions/common/manifest_handlers/background_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/manifest_handlers/background_info.h
diff --git a/chrome/common/extensions/background_info.h b/extensions/common/manifest_handlers/background_info.h
similarity index 91%
rename from chrome/common/extensions/background_info.h
rename to extensions/common/manifest_handlers/background_info.h
index cb334d611b58bb0aa38b91b67c20ac56884265eb..713ce7f02dda02e67952d6bcf4855a1b567f21f6 100644
--- a/chrome/common/extensions/background_info.h
+++ b/extensions/common/manifest_handlers/background_info.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_COMMON_EXTENSIONS_BACKGROUND_INFO_H_
-#define CHROME_COMMON_EXTENSIONS_BACKGROUND_INFO_H_
+#ifndef EXTENSIONS_COMMON_MANIFEST_HANDLERS_BACKGROUND_INFO_H_
+#define EXTENSIONS_COMMON_MANIFEST_HANDLERS_BACKGROUND_INFO_H_
#include <string>
#include <vector>
@@ -72,6 +72,8 @@ class BackgroundInfo : public Extension::ManifestData {
// allowing them to run in different processes.
// Defaults to true.
bool allow_js_access_;
+
+ DISALLOW_COPY_AND_ASSIGN(BackgroundInfo);
};
// Parses all background/event page-related keys in the manifest.
@@ -88,8 +90,10 @@ class BackgroundManifestHandler : public ManifestHandler {
private:
virtual const std::vector<std::string> Keys() const OVERRIDE;
+
+ DISALLOW_COPY_AND_ASSIGN(BackgroundManifestHandler);
};
} // namespace extensions
-#endif // CHROME_COMMON_EXTENSIONS_BACKGROUND_INFO_H_
+#endif // EXTENSIONS_COMMON_MANIFEST_HANDLERS_BACKGROUND_INFO_H_
« no previous file with comments | « extensions/common/file_util_unittest.cc ('k') | extensions/common/manifest_handlers/background_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698