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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 private: | 52 private: |
53 friend class content::BrowserThread; | 53 friend class content::BrowserThread; |
54 friend class base::DeleteHelper<ChromeRenderMessageFilter>; | 54 friend class base::DeleteHelper<ChromeRenderMessageFilter>; |
55 | 55 |
56 virtual ~ChromeRenderMessageFilter(); | 56 virtual ~ChromeRenderMessageFilter(); |
57 | 57 |
58 void OnDnsPrefetch(const std::vector<std::string>& hostnames); | 58 void OnDnsPrefetch(const std::vector<std::string>& hostnames); |
59 void OnPreconnect(const GURL& url); | 59 void OnPreconnect(const GURL& url); |
60 void OnResourceTypeStats(const blink::WebCache::ResourceTypeStats& stats); | 60 void OnResourceTypeStats(const blink::WebCache::ResourceTypeStats& stats); |
61 void OnUpdatedCacheStats(const blink::WebCache::UsageStats& stats); | 61 void OnUpdatedCacheStats(const blink::WebCache::UsageStats& stats); |
62 void OnFPS(int routing_id, float fps); | |
63 void OnV8HeapStats(int v8_memory_allocated, int v8_memory_used); | 62 void OnV8HeapStats(int v8_memory_allocated, int v8_memory_used); |
64 | 63 |
65 void OnAllowDatabase(int render_frame_id, | 64 void OnAllowDatabase(int render_frame_id, |
66 const GURL& origin_url, | 65 const GURL& origin_url, |
67 const GURL& top_origin_url, | 66 const GURL& top_origin_url, |
68 const base::string16& name, | 67 const base::string16& name, |
69 const base::string16& display_name, | 68 const base::string16& display_name, |
70 bool* allowed); | 69 bool* allowed); |
71 void OnAllowDOMStorage(int render_frame_id, | 70 void OnAllowDOMStorage(int render_frame_id, |
72 const GURL& origin_url, | 71 const GURL& origin_url, |
(...skipping 26 matching lines...) Expand all Loading... |
99 // used on the IO thread. | 98 // used on the IO thread. |
100 chrome_browser_net::Predictor* predictor_; | 99 chrome_browser_net::Predictor* predictor_; |
101 | 100 |
102 // Used to look up permissions at database creation time. | 101 // Used to look up permissions at database creation time. |
103 scoped_refptr<CookieSettings> cookie_settings_; | 102 scoped_refptr<CookieSettings> cookie_settings_; |
104 | 103 |
105 DISALLOW_COPY_AND_ASSIGN(ChromeRenderMessageFilter); | 104 DISALLOW_COPY_AND_ASSIGN(ChromeRenderMessageFilter); |
106 }; | 105 }; |
107 | 106 |
108 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ | 107 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ |
OLD | NEW |