OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
111 #endif | 111 #endif |
112 void OnAllowIndexedDB(int render_frame_id, | 112 void OnAllowIndexedDB(int render_frame_id, |
113 const GURL& origin_url, | 113 const GURL& origin_url, |
114 const GURL& top_origin_url, | 114 const GURL& top_origin_url, |
115 const base::string16& name, | 115 const base::string16& name, |
116 bool* allowed); | 116 bool* allowed); |
117 #if defined(ENABLE_PLUGINS) | 117 #if defined(ENABLE_PLUGINS) |
118 void OnIsCrashReportingEnabled(bool* enabled); | 118 void OnIsCrashReportingEnabled(bool* enabled); |
119 #endif | 119 #endif |
120 | 120 |
121 void OnFieldTrialActivated(const std::string& trial_name, | |
Alexei Svitkine (slow)
2014/11/05 22:50:53
Nit: Maybe add a comment.
Georges Khalil
2014/11/06 18:36:28
Done.
| |
122 const std::string& group_name); | |
123 | |
121 const int render_process_id_; | 124 const int render_process_id_; |
122 | 125 |
123 // The Profile associated with our renderer process. This should only be | 126 // The Profile associated with our renderer process. This should only be |
124 // accessed on the UI thread! | 127 // accessed on the UI thread! |
125 Profile* profile_; | 128 Profile* profile_; |
126 // The Predictor for the associated Profile. It is stored so that it can be | 129 // The Predictor for the associated Profile. It is stored so that it can be |
127 // used on the IO thread. | 130 // used on the IO thread. |
128 chrome_browser_net::Predictor* predictor_; | 131 chrome_browser_net::Predictor* predictor_; |
129 | 132 |
130 // Used to look up permissions at database creation time. | 133 // Used to look up permissions at database creation time. |
131 scoped_refptr<CookieSettings> cookie_settings_; | 134 scoped_refptr<CookieSettings> cookie_settings_; |
132 | 135 |
133 DISALLOW_COPY_AND_ASSIGN(ChromeRenderMessageFilter); | 136 DISALLOW_COPY_AND_ASSIGN(ChromeRenderMessageFilter); |
134 }; | 137 }; |
135 | 138 |
136 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ | 139 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ |
OLD | NEW |