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

Side by Side Diff: chrome/renderer/prefetch_helper.h

Issue 663333002: Standardize usage of virtual/override/final in chrome/renderer/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « chrome/renderer/plugins/plugin_uma.cc ('k') | chrome/renderer/prerender/prerender_dispatcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2014 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_RENDERER_PREFETCH_HELPER_H_ 5 #ifndef CHROME_RENDERER_PREFETCH_HELPER_H_
6 #define CHROME_RENDERER_PREFETCH_HELPER_H_ 6 #define CHROME_RENDERER_PREFETCH_HELPER_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "content/public/renderer/render_frame_observer.h" 10 #include "content/public/renderer/render_frame_observer.h"
(...skipping 12 matching lines...) Expand all
23 23
24 // blink::WebURLLoaderClient implementation 24 // blink::WebURLLoaderClient implementation
25 virtual void didFinishLoading(blink::WebURLLoader* loader, 25 virtual void didFinishLoading(blink::WebURLLoader* loader,
26 double finishTime, 26 double finishTime,
27 int64_t totalEncodedDataLength) override; 27 int64_t totalEncodedDataLength) override;
28 virtual void didFail(blink::WebURLLoader* loader, 28 virtual void didFail(blink::WebURLLoader* loader,
29 const blink::WebURLError& error) override; 29 const blink::WebURLError& error) override;
30 30
31 private: 31 private:
32 // RenderViewObserver implementation 32 // RenderViewObserver implementation
33 virtual bool OnMessageReceived(const IPC::Message& message) override; 33 bool OnMessageReceived(const IPC::Message& message) override;
34 34
35 void OnPrefetch(const GURL& url); 35 void OnPrefetch(const GURL& url);
36 36
37 std::set<blink::WebURLLoader*> loader_set_; 37 std::set<blink::WebURLLoader*> loader_set_;
38 38
39 DISALLOW_COPY_AND_ASSIGN(PrefetchHelper); 39 DISALLOW_COPY_AND_ASSIGN(PrefetchHelper);
40 }; 40 };
41 41
42 } // namespace prefetch 42 } // namespace prefetch
43 43
44 #endif // CHROME_RENDERER_PREFETCH_HELPER_H_ 44 #endif // CHROME_RENDERER_PREFETCH_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/renderer/plugins/plugin_uma.cc ('k') | chrome/renderer/prerender/prerender_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698