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

Unified Diff: chrome/browser/content_settings/content_settings_base_provider.cc

Issue 6523032: Even more test cleanup. Some fixes to non-test code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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_base_provider.cc
diff --git a/chrome/browser/content_settings/content_settings_base_provider.cc b/chrome/browser/content_settings/content_settings_base_provider.cc
index 843b50d955acbd56724bfececee48b93cc9b8c69..1cd250096873ffc34ca1ccc96d2709d70826f1b4 100644
--- a/chrome/browser/content_settings/content_settings_base_provider.cc
+++ b/chrome/browser/content_settings/content_settings_base_provider.cc
@@ -29,6 +29,22 @@ const bool kRequiresResourceIdentifier[CONTENT_SETTINGS_NUM_TYPES] = {
namespace content_settings {
+ExtendedContentSettings::ExtendedContentSettings() {}
+
+ExtendedContentSettings::ExtendedContentSettings(
+ const ExtendedContentSettings& rhs)
+ : content_settings(rhs.content_settings),
+ content_settings_for_resources(rhs.content_settings_for_resources) {
Nico 2011/02/15 21:25:37 this (can't rely on implicit copy constructors) is
Elliot Glaysher 2011/02/15 22:09:51 map of string to map of pair of enum and string to
+}
+
+ExtendedContentSettings::~ExtendedContentSettings() {}
+
+BaseProvider::BaseProvider(bool is_otr)
+ : is_off_the_record_(is_otr) {
Nico 2011/02/15 21:25:37 indent only 4
+}
+
+BaseProvider::~BaseProvider() {}
+
bool BaseProvider::RequiresResourceIdentifier(
ContentSettingsType content_type) const {
if (CommandLine::ForCurrentProcess()->HasSwitch(

Powered by Google App Engine
This is Rietveld 408576698