From b791effd60d54492f0e7cacf4c10d286fcd76ffe Mon Sep 17 00:00:00 2001 From: "jstritar@chromium.org" Date: Tue, 12 Jul 2011 20:25:22 +0000 Subject: Revert 92219 - Update URLPatternSet to contain a std::set instead of std::vector. This updates URLPatternSet to contain a std::set instead of a std::vector, making it easier to implement the set operations in ExtensionPermissionSet. BUG=84507 TEST=unit_tests Review URL: http://codereview.chromium.org/7347011 TBR=jstritar@chromium.org Review URL: http://codereview.chromium.org/7346019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92224 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/extensions/file_browser_handler.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/common/extensions/file_browser_handler.h') diff --git a/chrome/common/extensions/file_browser_handler.h b/chrome/common/extensions/file_browser_handler.h index d407bf89..74e478c 100644 --- a/chrome/common/extensions/file_browser_handler.h +++ b/chrome/common/extensions/file_browser_handler.h @@ -37,8 +37,8 @@ class FileBrowserHandler { void set_title(const std::string& title) { title_ = title; } // File schema URL patterns. - const URLPatternSet& file_url_patterns() const { - return url_set_; + const URLPatternList& file_url_patterns() const { + return url_set_.patterns(); } void AddPattern(const URLPattern& pattern); bool MatchesURL(const GURL& url) const; -- cgit v1.1