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_EXTENSIONS_API_DOWNLOADS_DOWNLOADS_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_DOWNLOADS_DOWNLOADS_API_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_DOWNLOADS_DOWNLOADS_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_DOWNLOADS_DOWNLOADS_API_H_ |
7 #pragma once | |
8 | 7 |
9 #include <map> | 8 #include <map> |
10 #include <set> | 9 #include <set> |
11 #include <string> | 10 #include <string> |
12 | 11 |
13 #include "base/file_path.h" | 12 #include "base/file_path.h" |
14 #include "base/memory/singleton.h" | 13 #include "base/memory/singleton.h" |
15 #include "base/string16.h" | 14 #include "base/string16.h" |
16 #include "base/values.h" | 15 #include "base/values.h" |
17 #include "chrome/browser/extensions/extension_function.h" | 16 #include "chrome/browser/extensions/extension_function.h" |
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 Profile* profile_; | 381 Profile* profile_; |
383 content::DownloadManager* manager_; | 382 content::DownloadManager* manager_; |
384 ItemMap downloads_; | 383 ItemMap downloads_; |
385 ItemJsonMap item_jsons_; | 384 ItemJsonMap item_jsons_; |
386 OnChangedStatMap on_changed_stats_; | 385 OnChangedStatMap on_changed_stats_; |
387 | 386 |
388 DISALLOW_COPY_AND_ASSIGN(ExtensionDownloadsEventRouter); | 387 DISALLOW_COPY_AND_ASSIGN(ExtensionDownloadsEventRouter); |
389 }; | 388 }; |
390 | 389 |
391 #endif // CHROME_BROWSER_EXTENSIONS_API_DOWNLOADS_DOWNLOADS_API_H_ | 390 #endif // CHROME_BROWSER_EXTENSIONS_API_DOWNLOADS_DOWNLOADS_API_H_ |
OLD | NEW |