Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(333)

Side by Side Diff: chrome/browser/renderer_host/chrome_render_message_filter.h

Issue 2643183002: Convert ChromeViewHostMsg_UpdatedCacheStats to use mojo. (Closed)
Patch Set: Convert ChromeViewHostMsg_UpdatedCacheStats to use mojo. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 content::BrowserThread::ID* thread) override; 42 content::BrowserThread::ID* thread) override;
43 43
44 private: 44 private:
45 friend class content::BrowserThread; 45 friend class content::BrowserThread;
46 friend class base::DeleteHelper<ChromeRenderMessageFilter>; 46 friend class base::DeleteHelper<ChromeRenderMessageFilter>;
47 47
48 ~ChromeRenderMessageFilter() override; 48 ~ChromeRenderMessageFilter() override;
49 49
50 void OnDnsPrefetch(const network_hints::LookupRequest& request); 50 void OnDnsPrefetch(const network_hints::LookupRequest& request);
51 void OnPreconnect(const GURL& url, bool allow_credentials, int count); 51 void OnPreconnect(const GURL& url, bool allow_credentials, int count);
52 void OnUpdatedCacheStats(uint64_t capacity, uint64_t size);
53 52
54 void OnAllowDatabase(int render_frame_id, 53 void OnAllowDatabase(int render_frame_id,
55 const GURL& origin_url, 54 const GURL& origin_url,
56 const GURL& top_origin_url, 55 const GURL& top_origin_url,
57 const base::string16& name, 56 const base::string16& name,
58 const base::string16& display_name, 57 const base::string16& display_name,
59 bool* allowed); 58 bool* allowed);
60 void OnAllowDOMStorage(int render_frame_id, 59 void OnAllowDOMStorage(int render_frame_id,
61 const GURL& origin_url, 60 const GURL& origin_url,
62 const GURL& top_origin_url, 61 const GURL& top_origin_url,
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 // used on the IO thread. 116 // used on the IO thread.
118 chrome_browser_net::Predictor* predictor_; 117 chrome_browser_net::Predictor* predictor_;
119 118
120 // Used to look up permissions at database creation time. 119 // Used to look up permissions at database creation time.
121 scoped_refptr<content_settings::CookieSettings> cookie_settings_; 120 scoped_refptr<content_settings::CookieSettings> cookie_settings_;
122 121
123 DISALLOW_COPY_AND_ASSIGN(ChromeRenderMessageFilter); 122 DISALLOW_COPY_AND_ASSIGN(ChromeRenderMessageFilter);
124 }; 123 };
125 124
126 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ 125 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698