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

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

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 12 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
« no previous file with comments | « content/browser/download/save_file_manager.cc ('k') | content/browser/download/save_item.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_BROWSER_DOWNLOAD_SAVE_FILE_RESOURCE_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_DOWNLOAD_SAVE_FILE_RESOURCE_HANDLER_H_
6 #define CONTENT_BROWSER_DOWNLOAD_SAVE_FILE_RESOURCE_HANDLER_H_ 6 #define CONTENT_BROWSER_DOWNLOAD_SAVE_FILE_RESOURCE_HANDLER_H_
7 7
8 #include <stdint.h>
9
8 #include <string> 10 #include <string>
9 11
12 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
11 #include "content/browser/loader/resource_handler.h" 14 #include "content/browser/loader/resource_handler.h"
12 #include "url/gurl.h" 15 #include "url/gurl.h"
13 16
14 namespace net { 17 namespace net {
15 class URLRequest; 18 class URLRequest;
16 } 19 }
17 20
18 namespace content { 21 namespace content {
19 class SaveFileManager; 22 class SaveFileManager;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 77
75 private: 78 private:
76 int save_item_id_; 79 int save_item_id_;
77 int save_package_id_; 80 int save_package_id_;
78 int render_process_id_; 81 int render_process_id_;
79 int render_frame_routing_id_; 82 int render_frame_routing_id_;
80 scoped_refptr<net::IOBuffer> read_buffer_; 83 scoped_refptr<net::IOBuffer> read_buffer_;
81 std::string content_disposition_; 84 std::string content_disposition_;
82 GURL url_; 85 GURL url_;
83 GURL final_url_; 86 GURL final_url_;
84 int64 content_length_; 87 int64_t content_length_;
85 SaveFileManager* save_manager_; 88 SaveFileManager* save_manager_;
86 89
87 static const int kReadBufSize = 32768; // bytes 90 static const int kReadBufSize = 32768; // bytes
88 91
89 DISALLOW_COPY_AND_ASSIGN(SaveFileResourceHandler); 92 DISALLOW_COPY_AND_ASSIGN(SaveFileResourceHandler);
90 }; 93 };
91 94
92 } // namespace content 95 } // namespace content
93 96
94 #endif // CONTENT_BROWSER_DOWNLOAD_SAVE_FILE_RESOURCE_HANDLER_H_ 97 #endif // CONTENT_BROWSER_DOWNLOAD_SAVE_FILE_RESOURCE_HANDLER_H_
OLDNEW
« no previous file with comments | « content/browser/download/save_file_manager.cc ('k') | content/browser/download/save_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698