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

Side by Side Diff: content/shell/browser/shell_resource_dispatcher_host_delegate.h

Issue 671663002: Standardize usage of virtual/override/final in content/ (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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_SHELL_BROWSER_SHELL_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
6 #define CONTENT_SHELL_BROWSER_SHELL_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ 6 #define CONTENT_SHELL_BROWSER_SHELL_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "content/public/browser/resource_dispatcher_host_delegate.h" 10 #include "content/public/browser/resource_dispatcher_host_delegate.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 class ShellResourceDispatcherHostDelegate 14 class ShellResourceDispatcherHostDelegate
15 : public ResourceDispatcherHostDelegate { 15 : public ResourceDispatcherHostDelegate {
16 public: 16 public:
17 ShellResourceDispatcherHostDelegate(); 17 ShellResourceDispatcherHostDelegate();
18 virtual ~ShellResourceDispatcherHostDelegate(); 18 ~ShellResourceDispatcherHostDelegate() override;
19 19
20 // ResourceDispatcherHostDelegate implementation. 20 // ResourceDispatcherHostDelegate implementation.
21 virtual ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( 21 ResourceDispatcherHostLoginDelegate* CreateLoginDelegate(
22 net::AuthChallengeInfo* auth_info, net::URLRequest* request) override; 22 net::AuthChallengeInfo* auth_info,
23 net::URLRequest* request) override;
23 24
24 // Used for content_browsertests. 25 // Used for content_browsertests.
25 void set_login_request_callback( 26 void set_login_request_callback(
26 base::Callback<void()> login_request_callback) { 27 base::Callback<void()> login_request_callback) {
27 login_request_callback_ = login_request_callback; 28 login_request_callback_ = login_request_callback;
28 } 29 }
29 30
30 private: 31 private:
31 base::Callback<void()> login_request_callback_; 32 base::Callback<void()> login_request_callback_;
32 33
33 DISALLOW_COPY_AND_ASSIGN(ShellResourceDispatcherHostDelegate); 34 DISALLOW_COPY_AND_ASSIGN(ShellResourceDispatcherHostDelegate);
34 }; 35 };
35 36
36 } // namespace content 37 } // namespace content
37 38
38 #endif // CONTENT_SHELL_BROWSER_SHELL_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ 39 #endif // CONTENT_SHELL_BROWSER_SHELL_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698