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

Unified Diff: components/content_settings/core/common/content_settings_pattern_parser.h

Issue 518803009: Move content_settings_pattern and content_settings_pattern_parser to the content_settings component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 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: components/content_settings/core/common/content_settings_pattern_parser.h
diff --git a/chrome/common/content_settings_pattern_parser.h b/components/content_settings/core/common/content_settings_pattern_parser.h
similarity index 54%
rename from chrome/common/content_settings_pattern_parser.h
rename to components/content_settings/core/common/content_settings_pattern_parser.h
index fbd8ccc7f78265dc9890f102a0aa6ac5baf8441e..80f1f3a1127b6757bd1cfe837ed1fa6ed3976b48 100644
--- a/chrome/common/content_settings_pattern_parser.h
+++ b/components/content_settings/core/common/content_settings_pattern_parser.h
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_COMMON_CONTENT_SETTINGS_PATTERN_PARSER_H_
-#define CHROME_COMMON_CONTENT_SETTINGS_PATTERN_PARSER_H_
+#ifndef COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_CONTENT_SETTINGS_PATTERN_PARSER_H_
+#define COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_CONTENT_SETTINGS_PATTERN_PARSER_H_
#include <string>
-#include "base/basictypes.h"
-#include "chrome/common/content_settings_pattern.h"
+#include "base/macros.h"
+#include "components/content_settings/core/common/content_settings_pattern.h"
namespace content_settings {
@@ -19,8 +19,11 @@ class PatternParser {
static std::string ToString(
const ContentSettingsPattern::PatternParts& parts);
+
+ private:
+ DISALLOW_IMPLICIT_CONSTRUCTORS(PatternParser);
};
} // namespace content_settings
-#endif // CHROME_COMMON_CONTENT_SETTINGS_PATTERN_PARSER_H_
+#endif // COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_CONTENT_SETTINGS_PATTERN_PARSER_H_

Powered by Google App Engine
This is Rietveld 408576698