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

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

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « content/shell/shell_resource_context.h ('k') | content/shell/shell_switches.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) 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 CONTENT_SHELL_SHELL_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ 5 #ifndef CONTENT_SHELL_SHELL_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
6 #define CONTENT_SHELL_SHELL_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ 6 #define CONTENT_SHELL_SHELL_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
7 #pragma once
8 7
9 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
10 #include "content/public/browser/resource_dispatcher_host_delegate.h" 9 #include "content/public/browser/resource_dispatcher_host_delegate.h"
11 10
12 namespace content { 11 namespace content {
13 12
14 class ShellResourceDispatcherHostDelegate 13 class ShellResourceDispatcherHostDelegate
15 : public content::ResourceDispatcherHostDelegate { 14 : public content::ResourceDispatcherHostDelegate {
16 public: 15 public:
17 ShellResourceDispatcherHostDelegate(); 16 ShellResourceDispatcherHostDelegate();
18 virtual ~ShellResourceDispatcherHostDelegate(); 17 virtual ~ShellResourceDispatcherHostDelegate();
19 18
20 // ResourceDispatcherHostDelegate implementation. 19 // ResourceDispatcherHostDelegate implementation.
21 virtual bool AcceptAuthRequest(net::URLRequest* request, 20 virtual bool AcceptAuthRequest(net::URLRequest* request,
22 net::AuthChallengeInfo* auth_info) OVERRIDE; 21 net::AuthChallengeInfo* auth_info) OVERRIDE;
23 virtual content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( 22 virtual content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate(
24 net::AuthChallengeInfo* auth_info, net::URLRequest* request) OVERRIDE; 23 net::AuthChallengeInfo* auth_info, net::URLRequest* request) OVERRIDE;
25 24
26 private: 25 private:
27 DISALLOW_COPY_AND_ASSIGN(ShellResourceDispatcherHostDelegate); 26 DISALLOW_COPY_AND_ASSIGN(ShellResourceDispatcherHostDelegate);
28 }; 27 };
29 28
30 } // namespace content 29 } // namespace content
31 30
32 #endif // CONTENT_SHELL_SHELL_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ 31 #endif // CONTENT_SHELL_SHELL_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/shell/shell_resource_context.h ('k') | content/shell/shell_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698