OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_MEDIA_GALLERIES_MEDIA_GALLERIES_PERMISSION_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_GALLERIES_PERMISSION_CONTROLLER_H_ |
6 #define CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_GALLERIES_PERMISSION_CONTROLLER_H_ | 6 #define CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_GALLERIES_PERMISSION_CONTROLLER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <map> | 10 #include <map> |
9 #include <string> | 11 #include <string> |
10 #include <vector> | 12 #include <vector> |
11 | 13 |
12 #include "base/callback.h" | 14 #include "base/callback.h" |
| 15 #include "base/macros.h" |
13 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
14 #include "base/strings/string16.h" | 17 #include "base/strings/string16.h" |
15 #include "chrome/browser/media_galleries/media_galleries_dialog_controller.h" | 18 #include "chrome/browser/media_galleries/media_galleries_dialog_controller.h" |
16 #include "chrome/browser/media_galleries/media_galleries_preferences.h" | 19 #include "chrome/browser/media_galleries/media_galleries_preferences.h" |
17 #include "components/storage_monitor/removable_storage_observer.h" | 20 #include "components/storage_monitor/removable_storage_observer.h" |
18 #include "ui/gfx/native_widget_types.h" | 21 #include "ui/gfx/native_widget_types.h" |
19 #include "ui/shell_dialogs/select_file_dialog.h" | 22 #include "ui/shell_dialogs/select_file_dialog.h" |
20 | 23 |
21 namespace content { | 24 namespace content { |
22 class WebContents; | 25 class WebContents; |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 | 213 |
211 scoped_ptr<MediaGalleryContextMenu> context_menu_; | 214 scoped_ptr<MediaGalleryContextMenu> context_menu_; |
212 | 215 |
213 // Creates the dialog. Only changed for unit tests. | 216 // Creates the dialog. Only changed for unit tests. |
214 CreateDialogCallback create_dialog_callback_; | 217 CreateDialogCallback create_dialog_callback_; |
215 | 218 |
216 DISALLOW_COPY_AND_ASSIGN(MediaGalleriesPermissionController); | 219 DISALLOW_COPY_AND_ASSIGN(MediaGalleriesPermissionController); |
217 }; | 220 }; |
218 | 221 |
219 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_GALLERIES_PERMISSION_CONTROLLER_
H_ | 222 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_GALLERIES_PERMISSION_CONTROLLER_
H_ |
OLD | NEW |