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

Side by Side Diff: content/browser/renderer_host/layered_resource_handler.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
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_BROWSER_RENDERER_HOST_LAYERED_RESOURCE_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_LAYERED_RESOURCE_HANDLER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_LAYERED_RESOURCE_HANDLER_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_LAYERED_RESOURCE_HANDLER_H_
7 #pragma once
8 7
9 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
10 #include "content/browser/renderer_host/resource_handler.h" 9 #include "content/browser/renderer_host/resource_handler.h"
11 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
12 11
13 namespace content { 12 namespace content {
14 13
15 // A ResourceHandler that simply delegates all calls to a next handler. This 14 // A ResourceHandler that simply delegates all calls to a next handler. This
16 // class is intended to be subclassed. 15 // class is intended to be subclassed.
17 class CONTENT_EXPORT LayeredResourceHandler : public ResourceHandler { 16 class CONTENT_EXPORT LayeredResourceHandler : public ResourceHandler {
(...skipping 21 matching lines...) Expand all
39 const net::URLRequestStatus& status, 38 const net::URLRequestStatus& status,
40 const std::string& security_info) OVERRIDE; 39 const std::string& security_info) OVERRIDE;
41 virtual void OnDataDownloaded(int request_id, int bytes_downloaded) OVERRIDE; 40 virtual void OnDataDownloaded(int request_id, int bytes_downloaded) OVERRIDE;
42 41
43 scoped_ptr<ResourceHandler> next_handler_; 42 scoped_ptr<ResourceHandler> next_handler_;
44 }; 43 };
45 44
46 } // namespace content 45 } // namespace content
47 46
48 #endif // CONTENT_BROWSER_RENDERER_HOST_LAYERED_RESOURCE_HANDLER_H_ 47 #endif // CONTENT_BROWSER_RENDERER_HOST_LAYERED_RESOURCE_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698