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

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

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.h
diff --git a/chrome/common/extensions/url_pattern.h b/chrome/common/extensions/url_pattern.h
index 0a0c07411f3012ccac413997d86b0a25ebfc25a6..69fc3934da35262f828102c691390194933b6495 100644
--- a/chrome/common/extensions/url_pattern.h
+++ b/chrome/common/extensions/url_pattern.h
@@ -9,7 +9,7 @@
#include <string>
#include <vector>
-#include "googleurl/src/gurl.h"
+class GURL;
// A pattern that can be used to match URLs. A URLPattern is a very restricted
// subset of URL syntax:
@@ -97,6 +97,8 @@ class URLPattern {
// Parse() instead, which returns success or failure.
URLPattern(int valid_schemes, const std::string& pattern);
+ ~URLPattern();
+
// Gets the bitmask of valid schemes.
int valid_schemes() const { return valid_schemes_; }
void set_valid_schemes(int valid_schemes) { valid_schemes_ = valid_schemes; }

Powered by Google App Engine
This is Rietveld 408576698