| OLD | NEW |
| 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_DOWNLOAD_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SERVICE_H_ |
| 6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SERVICE_H_ | 6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SERVICE_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 9 #include "components/keyed_service/core/keyed_service.h" | 10 #include "components/keyed_service/core/keyed_service.h" |
| 10 | 11 |
| 11 class ChromeDownloadManagerDelegate; | 12 class ChromeDownloadManagerDelegate; |
| 12 class DownloadHistory; | 13 class DownloadHistory; |
| 13 class ExtensionDownloadsEventRouter; | 14 class ExtensionDownloadsEventRouter; |
| 14 class Profile; | 15 class Profile; |
| 15 | 16 |
| 16 namespace content { | 17 namespace content { |
| 17 class DownloadManager; | 18 class DownloadManager; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 | 66 |
| 66 // Returns false if at least one extension has disabled the shelf, true | 67 // Returns false if at least one extension has disabled the shelf, true |
| 67 // otherwise. | 68 // otherwise. |
| 68 virtual bool IsShelfEnabled() = 0; | 69 virtual bool IsShelfEnabled() = 0; |
| 69 | 70 |
| 70 private: | 71 private: |
| 71 DISALLOW_COPY_AND_ASSIGN(DownloadService); | 72 DISALLOW_COPY_AND_ASSIGN(DownloadService); |
| 72 }; | 73 }; |
| 73 | 74 |
| 74 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SERVICE_H_ | 75 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SERVICE_H_ |
| OLD | NEW |