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

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

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 CHROME_BROWSER_DOWNLOAD_SAVE_PACKAGE_FILE_PICKER_H_ 5 #ifndef CHROME_BROWSER_DOWNLOAD_SAVE_PACKAGE_FILE_PICKER_H_
6 #define CHROME_BROWSER_DOWNLOAD_SAVE_PACKAGE_FILE_PICKER_H_ 6 #define CHROME_BROWSER_DOWNLOAD_SAVE_PACKAGE_FILE_PICKER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
11 #include "content/public/browser/download_manager_delegate.h" 12 #include "content/public/browser/download_manager_delegate.h"
12 #include "content/public/browser/save_page_type.h" 13 #include "content/public/browser/save_page_type.h"
13 #include "ui/shell_dialogs/select_file_dialog.h" 14 #include "ui/shell_dialogs/select_file_dialog.h"
14 15
15 class DownloadPrefs; 16 class DownloadPrefs;
16 17
17 // Handles showing a dialog to the user to ask for the filename to save a page. 18 // Handles showing a dialog to the user to ask for the filename to save a page.
18 class SavePackageFilePicker : public ui::SelectFileDialog::Listener { 19 class SavePackageFilePicker : public ui::SelectFileDialog::Listener {
19 public: 20 public:
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 52
52 std::vector<content::SavePageType> save_types_; 53 std::vector<content::SavePageType> save_types_;
53 54
54 // For managing select file dialogs. 55 // For managing select file dialogs.
55 scoped_refptr<ui::SelectFileDialog> select_file_dialog_; 56 scoped_refptr<ui::SelectFileDialog> select_file_dialog_;
56 57
57 DISALLOW_COPY_AND_ASSIGN(SavePackageFilePicker); 58 DISALLOW_COPY_AND_ASSIGN(SavePackageFilePicker);
58 }; 59 };
59 60
60 #endif // CHROME_BROWSER_DOWNLOAD_SAVE_PACKAGE_FILE_PICKER_H_ 61 #endif // CHROME_BROWSER_DOWNLOAD_SAVE_PACKAGE_FILE_PICKER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698