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

Side by Side Diff: chrome/browser/download/save_page_model.h

Issue 3040: Move the Save Page code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 3 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
Property Changes:
Added: svn:mergeinfo
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_BROWSER_SAVE_PAGE_MODEL_H__ 5 #ifndef CHROME_BROWSER_DOWNLOAD_SAVE_PAGE_MODEL_H__
6 #define CHROME_BROWSER_SAVE_PAGE_MODEL_H__ 6 #define CHROME_BROWSER_DOWNLOAD_SAVE_PAGE_MODEL_H__
7 7
8 #include "chrome/browser/views/download_item_view.h" 8 #include "chrome/browser/views/download_item_view.h"
9 9
10 class DownloadItem; 10 class DownloadItem;
11 class SavePackage; 11 class SavePackage;
12 12
13 // This class is a model class for DownloadItemView. It provides cancel 13 // This class is a model class for DownloadItemView. It provides cancel
14 // functionality for saving page, and also the text for displaying saving 14 // functionality for saving page, and also the text for displaying saving
15 // status. 15 // status.
16 class SavePageModel : public DownloadItemView::BaseDownloadItemModel { 16 class SavePageModel : public DownloadItemView::BaseDownloadItemModel {
(...skipping 10 matching lines...) Expand all
27 private: 27 private:
28 // Saving page management. 28 // Saving page management.
29 SavePackage* save_; 29 SavePackage* save_;
30 30
31 // A fake download item for saving page use. 31 // A fake download item for saving page use.
32 DownloadItem* download_; 32 DownloadItem* download_;
33 33
34 DISALLOW_EVIL_CONSTRUCTORS(SavePageModel); 34 DISALLOW_EVIL_CONSTRUCTORS(SavePageModel);
35 }; 35 };
36 36
37 #endif // CHROME_BROWSER_SAVE_PAGE_MODEL_H__ 37 #endif // CHROME_BROWSER_DOWNLOAD_SAVE_PAGE_MODEL_H__
38 38
OLDNEW
« no previous file with comments | « chrome/browser/download/save_package_unittest.cc ('k') | chrome/browser/download/save_page_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698