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 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/sequenced_task_runner_helpers.h" | 12 #include "base/sequenced_task_runner_helpers.h" |
13 #include "content/public/browser/browser_message_filter.h" | 13 #include "content/public/browser/browser_message_filter.h" |
14 #include "third_party/WebKit/public/web/WebCache.h" | 14 #include "third_party/WebKit/public/web/WebCache.h" |
15 | 15 |
16 class GURL; | 16 class GURL; |
17 class Profile; | 17 class Profile; |
18 class ProfileIOData; | |
jochen (gone - plz use gerrit)
2015/11/25 08:54:34
changes to this file are no longer required, right
svaldez
2015/11/25 14:56:55
Done.
| |
18 | 19 |
19 namespace chrome_browser_net { | 20 namespace chrome_browser_net { |
20 class Predictor; | 21 class Predictor; |
21 } | 22 } |
22 | 23 |
23 namespace content_settings { | 24 namespace content_settings { |
24 class CookieSettings; | 25 class CookieSettings; |
25 } | 26 } |
26 | 27 |
27 namespace network_hints { | 28 namespace network_hints { |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
114 // activated (ChromeViewHostMsg_FieldTrialActivated). | 115 // activated (ChromeViewHostMsg_FieldTrialActivated). |
115 void OnFieldTrialActivated(const std::string& trial_name); | 116 void OnFieldTrialActivated(const std::string& trial_name); |
116 void OnRecordRappor(const std::string& metric, const std::string& sample); | 117 void OnRecordRappor(const std::string& metric, const std::string& sample); |
117 void OnRecordRapporURL(const std::string& metric, const GURL& sample); | 118 void OnRecordRapporURL(const std::string& metric, const GURL& sample); |
118 | 119 |
119 const int render_process_id_; | 120 const int render_process_id_; |
120 | 121 |
121 // The Profile associated with our renderer process. This should only be | 122 // The Profile associated with our renderer process. This should only be |
122 // accessed on the UI thread! | 123 // accessed on the UI thread! |
123 Profile* profile_; | 124 Profile* profile_; |
125 ProfileIOData* profile_io_data_; | |
124 // The Predictor for the associated Profile. It is stored so that it can be | 126 // The Predictor for the associated Profile. It is stored so that it can be |
125 // used on the IO thread. | 127 // used on the IO thread. |
126 chrome_browser_net::Predictor* predictor_; | 128 chrome_browser_net::Predictor* predictor_; |
127 | 129 |
128 // Used to look up permissions at database creation time. | 130 // Used to look up permissions at database creation time. |
129 scoped_refptr<content_settings::CookieSettings> cookie_settings_; | 131 scoped_refptr<content_settings::CookieSettings> cookie_settings_; |
130 | 132 |
131 DISALLOW_COPY_AND_ASSIGN(ChromeRenderMessageFilter); | 133 DISALLOW_COPY_AND_ASSIGN(ChromeRenderMessageFilter); |
132 }; | 134 }; |
133 | 135 |
134 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ | 136 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ |
OLD | NEW |