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

Unified Diff: chrome/browser/content_settings/content_settings_pattern_parser.h

Issue 7885006: Moving ContentSettingsPattern from chrome/browser/content_settings to chrome/common. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Keeping up to date with trunk. Created 9 years, 3 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/browser/content_settings/content_settings_pattern_parser.h
diff --git a/chrome/browser/content_settings/content_settings_pattern_parser.h b/chrome/browser/content_settings/content_settings_pattern_parser.h
deleted file mode 100644
index eca4568b50babc6f68dd3e923a4291ccf4b14422..0000000000000000000000000000000000000000
--- a/chrome/browser/content_settings/content_settings_pattern_parser.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_PATTERN_PARSER_H_
-#define CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_PATTERN_PARSER_H_
-
-#include <string>
-
-#include "base/basictypes.h"
-#include "chrome/browser/content_settings/content_settings_pattern.h"
-
-namespace content_settings {
-
-struct PatternParts;
-
-class PatternParser {
- public:
- static void Parse(const std::string& pattern_spec,
- ContentSettingsPattern::BuilderInterface* builder);
-
- static std::string ToString(
- const ContentSettingsPattern::PatternParts& parts);
-
- private:
- static const char* kDomainWildcard;
-
- static const size_t kDomainWildcardLength;
-
- static const char* kSchemeWildcard;
-
- static const char* kHostWildcard;
-
- static const char* kPortWildcard;
-
- DISALLOW_COPY_AND_ASSIGN(PatternParser);
-};
-
-} // namespace content_settings
-
-#endif // CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_PATTERN_PARSER_H_

Powered by Google App Engine
This is Rietveld 408576698