Index: chrome/browser/content_settings/content_settings_observer.h |
diff --git a/chrome/browser/content_settings/content_settings_observer.h b/chrome/browser/content_settings/content_settings_observer.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..76b06a722bf52fdb4b21ef1039f46f6a61dbb4d3 |
--- /dev/null |
+++ b/chrome/browser/content_settings/content_settings_observer.h |
@@ -0,0 +1,26 @@ |
+// 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. |
+ |
+#ifndef CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_OBSERVER_H_ |
+#define CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_OBSERVER_H_ |
+ |
+#include <string> |
+ |
+#include "chrome/browser/content_settings/content_settings_pattern.h" |
+#include "chrome/common/content_settings_types.h" |
+ |
+namespace content_settings { |
+ |
+class Observer { |
+ public: |
+ virtual void OnContentSettingChanged( |
+ ContentSettingsPattern primary_pattern, |
+ ContentSettingsPattern secondary_pattern, |
+ ContentSettingsType content_type, |
+ std::string resource_identifier) = 0; |
+}; |
+ |
+} // namespace content_settings |
+ |
+#endif // CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_OBSERVER_H_ |