| OLD | NEW |
| 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 #ifndef CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/common/content_settings.h" | 9 #include "chrome/common/content_settings.h" |
| 10 #include "chrome/browser/prefs/pref_member.h" | 10 #include "chrome/browser/prefs/pref_member.h" |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 ContentSetting* authorize_policy); | 86 ContentSetting* authorize_policy); |
| 87 void OnAllowDatabase(int render_view_id, | 87 void OnAllowDatabase(int render_view_id, |
| 88 const GURL& origin_url, | 88 const GURL& origin_url, |
| 89 const string16& name, | 89 const string16& name, |
| 90 const string16& display_name, | 90 const string16& display_name, |
| 91 bool* allowed); | 91 bool* allowed); |
| 92 void OnAllowDOMStorage(int render_view_id, | 92 void OnAllowDOMStorage(int render_view_id, |
| 93 const GURL& url, | 93 const GURL& url, |
| 94 DOMStorageType type, | 94 DOMStorageType type, |
| 95 bool* allowed); | 95 bool* allowed); |
| 96 void OnAllowFileSystem(int render_view_id, const GURL& url, bool* allowed); |
| 96 void OnAllowIndexedDB(int render_view_id, | 97 void OnAllowIndexedDB(int render_view_id, |
| 97 const string16& origin_url, | 98 const string16& origin_url, |
| 98 const string16& name, | 99 const string16& name, |
| 99 bool* allowed); | 100 bool* allowed); |
| 100 void OnCanTriggerClipboardRead(const GURL& url, bool* allowed); | 101 void OnCanTriggerClipboardRead(const GURL& url, bool* allowed); |
| 101 void OnCanTriggerClipboardWrite(const GURL& url, bool* allowed); | 102 void OnCanTriggerClipboardWrite(const GURL& url, bool* allowed); |
| 102 void OnGetCookies(const GURL& url, | 103 void OnGetCookies(const GURL& url, |
| 103 const GURL& first_party_for_cookies, | 104 const GURL& first_party_for_cookies, |
| 104 IPC::Message* reply_msg); | 105 IPC::Message* reply_msg); |
| 105 void OnSetCookie(const IPC::Message& message, | 106 void OnSetCookie(const IPC::Message& message, |
| (...skipping 10 matching lines...) Expand all Loading... |
| 116 // Used to look up permissions at database creation time. | 117 // Used to look up permissions at database creation time. |
| 117 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; | 118 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; |
| 118 | 119 |
| 119 BooleanPrefMember allow_outdated_plugins_; | 120 BooleanPrefMember allow_outdated_plugins_; |
| 120 BooleanPrefMember always_authorize_plugins_; | 121 BooleanPrefMember always_authorize_plugins_; |
| 121 | 122 |
| 122 DISALLOW_COPY_AND_ASSIGN(ChromeRenderMessageFilter); | 123 DISALLOW_COPY_AND_ASSIGN(ChromeRenderMessageFilter); |
| 123 }; | 124 }; |
| 124 | 125 |
| 125 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ | 126 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ |
| OLD | NEW |