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

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

Issue 1803973002: Content Settings: Add RevocationObserver to measure when permissions are revoked (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 4 years, 9 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
OLDNEW
1 // Copyright (c) 2011 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/content_settings_mock_observer.h" 5 #include "chrome/browser/content_settings/content_settings_mock_observer.h"
6 6
7 namespace content_settings { 7 namespace content_settings {
8 8
9 MockObserver::MockObserver() { 9 MockObserver::MockObserver() {
10 } 10 }
11 11
12 MockObserver::~MockObserver() { 12 MockObserver::~MockObserver() {
13 }
14
15 MockRevocationObserver::MockRevocationObserver() {
16 }
17
18 MockRevocationObserver::~MockRevocationObserver() {
19 }
20
21 void MockRevocationObserver::OnContentSettingChanged(
22 const ContentSettingsPattern& primary_pattern,
23 const ContentSettingsPattern& secondary_pattern,
24 ContentSettingsType content_type,
25 std::string resource_identifier) {
13 } 26 }
14 27
15 } // namespace content_settings 28 } // namespace content_settings
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698