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

Unified Diff: chrome/common/extensions/url_pattern.cc

Issue 3207002: FBTF: Forward declare and move constructors in chrome/common/extensions/. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Win fixes Created 10 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
Index: chrome/common/extensions/url_pattern.cc
diff --git a/chrome/common/extensions/url_pattern.cc b/chrome/common/extensions/url_pattern.cc
index 70240b48bd67e53e87f4b399391cb6f564a94042..544376d3a0f42f76fe7512d8292897d016c559ba 100644
--- a/chrome/common/extensions/url_pattern.cc
+++ b/chrome/common/extensions/url_pattern.cc
@@ -7,6 +7,7 @@
#include "base/string_piece.h"
#include "base/string_util.h"
#include "chrome/common/url_constants.h"
+#include "googleurl/src/gurl.h"
// TODO(aa): Consider adding chrome-extension? What about more obscure ones
// like data: and javascript: ?
@@ -48,6 +49,9 @@ URLPattern::URLPattern(int valid_schemes, const std::string& pattern)
NOTREACHED() << "URLPattern is invalid: " << pattern;
}
+URLPattern::~URLPattern() {
+}
+
bool URLPattern::Parse(const std::string& pattern) {
// Special case pattern to match every valid URL.
if (pattern == kAllUrlsPattern) {

Powered by Google App Engine
This is Rietveld 408576698