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

Unified Diff: extensions/common/url_pattern_set.h

Issue 11312228: Move extension_error_utils.* and url_pattern_set.* into (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move into extensions namespace Created 8 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
Index: extensions/common/url_pattern_set.h
diff --git a/chrome/common/extensions/url_pattern_set.h b/extensions/common/url_pattern_set.h
similarity index 94%
rename from chrome/common/extensions/url_pattern_set.h
rename to extensions/common/url_pattern_set.h
index b39c61446fb9a08de5cf6ccc5d9fa73237c58dab..2f7113973835ffe4346b00ac199cc1723d07cd65 100644
--- a/chrome/common/extensions/url_pattern_set.h
+++ b/extensions/common/url_pattern_set.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_URL_PATTERN_SET_H_
-#define CHROME_COMMON_EXTENSIONS_URL_PATTERN_SET_H_
+#ifndef EXTENSIONS_COMMMON_URL_PATTERN_SET_H_
+#define EXTENSIONS_COMMMON_URL_PATTERN_SET_H_
#include <set>
@@ -17,6 +17,8 @@ class ListValue;
class Value;
}
+namespace extensions {
+
// Represents the set of URLs an extension uses for web content.
class URLPatternSet {
public:
@@ -94,4 +96,6 @@ class URLPatternSet {
std::set<URLPattern> patterns_;
};
-#endif // CHROME_COMMON_EXTENSIONS_URL_PATTERN_SET_H_
+} // namespace extensions
+
+#endif // EXTENSIONS_COMMMON_URL_PATTERN_SET_H_

Powered by Google App Engine
This is Rietveld 408576698