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

Side by Side Diff: chrome/browser/content_settings/mock_content_settings_provider.cc

Issue 6300015: Rename ContentSettingsProviderInterface to DefaultContentSettingsProviderInterface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/browser/content_settings
Patch Set: " Created 9 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/content_settings/mock_content_settings_provider.h" 5 #include "chrome/browser/content_settings/mock_content_settings_provider.h"
6 6
7 MockContentSettingsProvider::MockContentSettingsProvider( 7 MockContentSettingsProvider::MockContentSettingsProvider(
8 ContentSettingsType content_type, 8 ContentSettingsType content_type,
9 ContentSetting setting, 9 ContentSetting setting,
10 bool is_managed, 10 bool is_managed,
11 bool can_override) 11 bool can_override)
(...skipping 23 matching lines...) Expand all
35 setting_ = setting; 35 setting_ = setting;
36 } 36 }
37 37
38 bool MockContentSettingsProvider::DefaultSettingIsManaged( 38 bool MockContentSettingsProvider::DefaultSettingIsManaged(
39 ContentSettingsType content_type) const { 39 ContentSettingsType content_type) const {
40 return content_type == content_type_ && is_managed_; 40 return content_type == content_type_ && is_managed_;
41 } 41 }
42 42
43 void MockContentSettingsProvider::ResetToDefaults() { 43 void MockContentSettingsProvider::ResetToDefaults() {
44 } 44 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698