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

Side by Side Diff: content/browser/download/save_file_resource_handler.h

Issue 11618049: Cleanup: Remove unneeded browser_thread.h includes in contents. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix build Created 7 years, 11 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_SAVE_FILE_RESOURCE_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_DOWNLOAD_SAVE_FILE_RESOURCE_HANDLER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_SAVE_FILE_RESOURCE_HANDLER_H_ 6 #define CONTENT_BROWSER_DOWNLOAD_SAVE_FILE_RESOURCE_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h"
10 #include "content/browser/loader/resource_handler.h" 11 #include "content/browser/loader/resource_handler.h"
11 #include "googleurl/src/gurl.h" 12 #include "googleurl/src/gurl.h"
12 13
13 namespace content { 14 namespace content {
14 class SaveFileManager; 15 class SaveFileManager;
15 16
16 // Forwards data to the save thread. 17 // Forwards data to the save thread.
17 class SaveFileResourceHandler : public ResourceHandler { 18 class SaveFileResourceHandler : public ResourceHandler {
18 public: 19 public:
19 SaveFileResourceHandler(int render_process_host_id, 20 SaveFileResourceHandler(int render_process_host_id,
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 int64 content_length_; 83 int64 content_length_;
83 SaveFileManager* save_manager_; 84 SaveFileManager* save_manager_;
84 85
85 static const int kReadBufSize = 32768; // bytes 86 static const int kReadBufSize = 32768; // bytes
86 87
87 DISALLOW_COPY_AND_ASSIGN(SaveFileResourceHandler); 88 DISALLOW_COPY_AND_ASSIGN(SaveFileResourceHandler);
88 }; 89 };
89 90
90 } // namespace content 91 } // namespace content
91 92
92 #endif // CONTENT_BROWSER_RENDERER_HOST_SAVE_FILE_RESOURCE_HANDLER_H_ 93 #endif // CONTENT_BROWSER_DOWNLOAD_SAVE_FILE_RESOURCE_HANDLER_H_
OLDNEW
« no previous file with comments | « content/browser/devtools/devtools_tracing_handler.cc ('k') | content/browser/fileapi/chrome_blob_storage_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698