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

Side by Side Diff: chrome/browser/extensions/api/downloads/downloads_api.h

Issue 10805020: Kill DownloadItem::IsOtr() (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: . Created 8 years, 5 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
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_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 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 typedef std::map<int, base::DictionaryValue*> ItemJsonMap; 242 typedef std::map<int, base::DictionaryValue*> ItemJsonMap;
243 typedef std::map<int, OnChangedStat*> OnChangedStatMap; 243 typedef std::map<int, OnChangedStat*> OnChangedStatMap;
244 244
245 void DispatchEvent(const char* event_name, base::Value* json_arg); 245 void DispatchEvent(const char* event_name, base::Value* json_arg);
246 246
247 Profile* profile_; 247 Profile* profile_;
248 content::DownloadManager* manager_; 248 content::DownloadManager* manager_;
249 ItemMap downloads_; 249 ItemMap downloads_;
250 ItemJsonMap item_jsons_; 250 ItemJsonMap item_jsons_;
251 OnChangedStatMap on_changed_stats_; 251 OnChangedStatMap on_changed_stats_;
252 bool incognito_;
252 253
253 DISALLOW_COPY_AND_ASSIGN(ExtensionDownloadsEventRouter); 254 DISALLOW_COPY_AND_ASSIGN(ExtensionDownloadsEventRouter);
254 }; 255 };
255 256
256 #endif // CHROME_BROWSER_EXTENSIONS_API_DOWNLOADS_DOWNLOADS_API_H_ 257 #endif // CHROME_BROWSER_EXTENSIONS_API_DOWNLOADS_DOWNLOADS_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698