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

Unified Diff: chrome/common/content_settings.cc

Issue 541813002: Componentize chrome/common/content_settings files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: GN fix 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
« no previous file with comments | « chrome/common/content_settings.h ('k') | chrome/common/content_settings_pattern_parser_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/content_settings.cc
diff --git a/chrome/common/content_settings.cc b/chrome/common/content_settings.cc
deleted file mode 100644
index 5d48bc9065c5f711f15795d220dc998c3c4dc7f6..0000000000000000000000000000000000000000
--- a/chrome/common/content_settings.cc
+++ /dev/null
@@ -1,31 +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.
-
-#include "chrome/common/content_settings.h"
-
-ContentSetting IntToContentSetting(int content_setting) {
- return ((content_setting < 0) ||
- (content_setting >= CONTENT_SETTING_NUM_SETTINGS)) ?
- CONTENT_SETTING_DEFAULT : static_cast<ContentSetting>(content_setting);
-}
-
-ContentSettingPatternSource::ContentSettingPatternSource(
- const ContentSettingsPattern& primary_pattern,
- const ContentSettingsPattern& secondary_pattern,
- ContentSetting setting,
- const std::string& source,
- bool incognito)
- : primary_pattern(primary_pattern),
- secondary_pattern(secondary_pattern),
- setting(setting),
- source(source),
- incognito(incognito) {}
-
-ContentSettingPatternSource::ContentSettingPatternSource()
- : setting(CONTENT_SETTING_DEFAULT), incognito(false) {
-}
-
-RendererContentSettingRules::RendererContentSettingRules() {}
-
-RendererContentSettingRules::~RendererContentSettingRules() {}
« no previous file with comments | « chrome/common/content_settings.h ('k') | chrome/common/content_settings_pattern_parser_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698