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

Side by Side Diff: content/browser/download/download_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_DOWNLOAD_DOWNLOAD_RESOURCE_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_RESOURCE_HANDLER_H_
6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_RESOURCE_HANDLER_H_ 6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_RESOURCE_HANDLER_H_
7 #pragma once
8 7
9 #include <string> 8 #include <string>
10 9
11 #include "base/callback.h" 10 #include "base/callback.h"
12 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
13 #include "base/timer.h" 12 #include "base/timer.h"
14 #include "content/browser/renderer_host/resource_handler.h" 13 #include "content/browser/renderer_host/resource_handler.h"
15 #include "content/public/browser/download_id.h" 14 #include "content/public/browser/download_id.h"
16 #include "content/public/browser/download_manager.h" 15 #include "content/public/browser/download_manager.h"
17 #include "content/public/browser/download_save_info.h" 16 #include "content/public/browser/download_save_info.h"
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 // For DCHECKing 127 // For DCHECKing
129 bool on_response_started_called_; 128 bool on_response_started_called_;
130 129
131 static const int kReadBufSize = 32768; // bytes 130 static const int kReadBufSize = 32768; // bytes
132 static const int kThrottleTimeMs = 200; // milliseconds 131 static const int kThrottleTimeMs = 200; // milliseconds
133 132
134 DISALLOW_COPY_AND_ASSIGN(DownloadResourceHandler); 133 DISALLOW_COPY_AND_ASSIGN(DownloadResourceHandler);
135 }; 134 };
136 135
137 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_RESOURCE_HANDLER_H_ 136 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_RESOURCE_HANDLER_H_
OLDNEW
« no previous file with comments | « content/browser/download/download_request_handle.h ('k') | content/browser/download/download_stats.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698