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

Side by Side Diff: content/browser/renderer_host/doomed_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_DOOMED_RESOURCE_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_DOOMED_RESOURCE_HANDLER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_DOOMED_RESOURCE_HANDLER_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_DOOMED_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 10
12 namespace content { 11 namespace content {
13 12
14 // ResourceHandler that DCHECKs on all events but canceling and failing of 13 // ResourceHandler that DCHECKs on all events but canceling and failing of
15 // requests while activated for a URLRequest. 14 // requests while activated for a URLRequest.
16 class DoomedResourceHandler : public ResourceHandler { 15 class DoomedResourceHandler : public ResourceHandler {
17 public: 16 public:
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 51
53 private: 52 private:
54 scoped_ptr<ResourceHandler> old_handler_; 53 scoped_ptr<ResourceHandler> old_handler_;
55 54
56 DISALLOW_COPY_AND_ASSIGN(DoomedResourceHandler); 55 DISALLOW_COPY_AND_ASSIGN(DoomedResourceHandler);
57 }; 56 };
58 57
59 } // namespace content 58 } // namespace content
60 59
61 #endif // CONTENT_BROWSER_RENDERER_HOST_DOOMED_RESOURCE_HANDLER_H_ 60 #endif // CONTENT_BROWSER_RENDERER_HOST_DOOMED_RESOURCE_HANDLER_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/dip_util.h ('k') | content/browser/renderer_host/gamepad_browser_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698