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

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

Issue 629603002: replace OVERRIDE and FINAL with override and final in chrome/browser/[r-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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 27 matching lines...) Expand all
38 : v8_memory_allocated_(v8_memory_allocated), 38 : v8_memory_allocated_(v8_memory_allocated),
39 v8_memory_used_(v8_memory_used) {} 39 v8_memory_used_(v8_memory_used) {}
40 size_t v8_memory_allocated() const { return v8_memory_allocated_; } 40 size_t v8_memory_allocated() const { return v8_memory_allocated_; }
41 size_t v8_memory_used() const { return v8_memory_used_; } 41 size_t v8_memory_used() const { return v8_memory_used_; }
42 private: 42 private:
43 size_t v8_memory_allocated_; 43 size_t v8_memory_allocated_;
44 size_t v8_memory_used_; 44 size_t v8_memory_used_;
45 }; 45 };
46 46
47 // content::BrowserMessageFilter methods: 47 // content::BrowserMessageFilter methods:
48 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 48 virtual bool OnMessageReceived(const IPC::Message& message) override;
49 virtual void OverrideThreadForMessage( 49 virtual void OverrideThreadForMessage(
50 const IPC::Message& message, 50 const IPC::Message& message,
51 content::BrowserThread::ID* thread) OVERRIDE; 51 content::BrowserThread::ID* thread) override;
52 52
53 private: 53 private:
54 friend class content::BrowserThread; 54 friend class content::BrowserThread;
55 friend class base::DeleteHelper<ChromeRenderMessageFilter>; 55 friend class base::DeleteHelper<ChromeRenderMessageFilter>;
56 56
57 virtual ~ChromeRenderMessageFilter(); 57 virtual ~ChromeRenderMessageFilter();
58 58
59 void OnDnsPrefetch(const std::vector<std::string>& hostnames); 59 void OnDnsPrefetch(const std::vector<std::string>& hostnames);
60 void OnPreconnect(const GURL& url); 60 void OnPreconnect(const GURL& url);
61 void OnResourceTypeStats(const blink::WebCache::ResourceTypeStats& stats); 61 void OnResourceTypeStats(const blink::WebCache::ResourceTypeStats& stats);
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 // used on the IO thread. 128 // used on the IO thread.
129 chrome_browser_net::Predictor* predictor_; 129 chrome_browser_net::Predictor* predictor_;
130 130
131 // Used to look up permissions at database creation time. 131 // Used to look up permissions at database creation time.
132 scoped_refptr<CookieSettings> cookie_settings_; 132 scoped_refptr<CookieSettings> cookie_settings_;
133 133
134 DISALLOW_COPY_AND_ASSIGN(ChromeRenderMessageFilter); 134 DISALLOW_COPY_AND_ASSIGN(ChromeRenderMessageFilter);
135 }; 135 };
136 136
137 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ 137 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698