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

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

Issue 10069016: TabContents -> WebContentsImpl, part 9. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
« no previous file with comments | « content/browser/download/save_package.cc ('k') | no next file » | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_TYPES_H_ 5 #ifndef CONTENT_BROWSER_DOWNLOAD_SAVE_TYPES_H_
6 #define CONTENT_BROWSER_DOWNLOAD_SAVE_TYPES_H_ 6 #define CONTENT_BROWSER_DOWNLOAD_SAVE_TYPES_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 // SaveItem fields. 45 // SaveItem fields.
46 // The local file path of saved file. 46 // The local file path of saved file.
47 FilePath path; 47 FilePath path;
48 // Original URL of the saved resource. 48 // Original URL of the saved resource.
49 GURL url; 49 GURL url;
50 // Final URL of the saved resource since some URL might be redirected. 50 // Final URL of the saved resource since some URL might be redirected.
51 GURL final_url; 51 GURL final_url;
52 // The unique identifier for saving job, assigned at creation by 52 // The unique identifier for saving job, assigned at creation by
53 // the SaveFileManager for its internal record keeping. 53 // the SaveFileManager for its internal record keeping.
54 int save_id; 54 int save_id;
55 // IDs for looking up the tab we are associated with. 55 // IDs for looking up the contents we are associated with.
56 int render_process_id; 56 int render_process_id;
57 int render_view_id; 57 int render_view_id;
58 // Handle for informing the ResourceDispatcherHost of a UI based cancel. 58 // Handle for informing the ResourceDispatcherHost of a UI based cancel.
59 int request_id; 59 int request_id;
60 // Disposition info from HTTP response. 60 // Disposition info from HTTP response.
61 std::string content_disposition; 61 std::string content_disposition;
62 // Total bytes of saved file. 62 // Total bytes of saved file.
63 int64 total_bytes; 63 int64 total_bytes;
64 // Source type of saved file. 64 // Source type of saved file.
65 SaveFileSource save_source; 65 SaveFileSource save_source;
66 }; 66 };
67 67
68 #endif // CONTENT_BROWSER_DOWNLOAD_SAVE_TYPES_H_ 68 #endif // CONTENT_BROWSER_DOWNLOAD_SAVE_TYPES_H_
OLDNEW
« no previous file with comments | « content/browser/download/save_package.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698