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

Side by Side Diff: android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc

Issue 623833003: replace OVERRIDE and FINAL with override and final in android_webview/ (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
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 #include "android_webview/browser/renderer_host/aw_resource_dispatcher_host_dele gate.h" 5 #include "android_webview/browser/renderer_host/aw_resource_dispatcher_host_dele gate.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "android_webview/browser/aw_contents_io_thread_client.h" 9 #include "android_webview/browser/aw_contents_io_thread_client.h"
10 #include "android_webview/browser/aw_login_delegate.h" 10 #include "android_webview/browser/aw_login_delegate.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 // newly created pop up windows, for example) and in that case the request and 59 // newly created pop up windows, for example) and in that case the request and
60 // the client callbacks will be deferred the request until a client is ready. 60 // the client callbacks will be deferred the request until a client is ready.
61 class IoThreadClientThrottle : public content::ResourceThrottle { 61 class IoThreadClientThrottle : public content::ResourceThrottle {
62 public: 62 public:
63 IoThreadClientThrottle(int render_process_id, 63 IoThreadClientThrottle(int render_process_id,
64 int render_frame_id, 64 int render_frame_id,
65 net::URLRequest* request); 65 net::URLRequest* request);
66 virtual ~IoThreadClientThrottle(); 66 virtual ~IoThreadClientThrottle();
67 67
68 // From content::ResourceThrottle 68 // From content::ResourceThrottle
69 virtual void WillStartRequest(bool* defer) OVERRIDE; 69 virtual void WillStartRequest(bool* defer) override;
70 virtual void WillRedirectRequest(const GURL& new_url, bool* defer) OVERRIDE; 70 virtual void WillRedirectRequest(const GURL& new_url, bool* defer) override;
71 virtual const char* GetNameForLogging() const OVERRIDE; 71 virtual const char* GetNameForLogging() const override;
72 72
73 void OnIoThreadClientReady(int new_render_process_id, 73 void OnIoThreadClientReady(int new_render_process_id,
74 int new_render_frame_id); 74 int new_render_frame_id);
75 bool MaybeBlockRequest(); 75 bool MaybeBlockRequest();
76 bool ShouldBlockRequest(); 76 bool ShouldBlockRequest();
77 int render_process_id() const { return render_process_id_; } 77 int render_process_id() const { return render_process_id_; }
78 int render_frame_id() const { return render_frame_id_; } 78 int render_frame_id() const { return render_frame_id_; }
79 79
80 private: 80 private:
81 int render_process_id_; 81 int render_process_id_;
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 net::HttpRequestHeaders headers; 420 net::HttpRequestHeaders headers;
421 headers.AddHeadersFromString(extra_headers); 421 headers.AddHeadersFromString(extra_headers);
422 for (net::HttpRequestHeaders::Iterator it(headers); it.GetNext(); ) { 422 for (net::HttpRequestHeaders::Iterator it(headers); it.GetNext(); ) {
423 request->SetExtraRequestHeaderByName(it.name(), it.value(), false); 423 request->SetExtraRequestHeaderByName(it.name(), it.value(), false);
424 } 424 }
425 } 425 }
426 } 426 }
427 } 427 }
428 428
429 } // namespace android_webview 429 } // namespace android_webview
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698