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

Side by Side Diff: chrome/browser/content_settings/stub_settings_observer.h

Issue 7088017: Split incognito extension content settings in session-only and persistent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 9 years, 6 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CONTENT_SETTINGS_STUB_SETTINGS_OBSERVER_H_
6 #define CHROME_BROWSER_CONTENT_SETTINGS_STUB_SETTINGS_OBSERVER_H_
7 #pragma once
8
9 #include "chrome/browser/content_settings/content_settings_details.h"
10 #include "content/common/notification_observer.h"
11 #include "content/common/notification_registrar.h"
12 #include "content/common/notification_service.h"
13
14 class HostContentSettingsMap;
15
16 class StubSettingsObserver : public NotificationObserver {
17 public:
18 StubSettingsObserver();
19 virtual ~StubSettingsObserver();
20
21 virtual void Observe(NotificationType type,
22 const NotificationSource& source,
23 const NotificationDetails& details);
24
25 HostContentSettingsMap* last_notifier;
26 ContentSettingsPattern last_pattern;
27 bool last_update_all;
28 bool last_update_all_types;
29 int counter;
30 ContentSettingsType last_type;
31
32 private:
33 NotificationRegistrar registrar_;
34 };
35
36 #endif // CHROME_BROWSER_CONTENT_SETTINGS_STUB_SETTINGS_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/content_settings/mock_settings_observer.cc ('k') | chrome/browser/content_settings/stub_settings_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698