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

Side by Side Diff: content/browser/download/download_item_impl.h

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 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 CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_ 5 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_
6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_ 6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 // Start time for recording statistics. 486 // Start time for recording statistics.
487 base::TimeTicks start_tick_; 487 base::TimeTicks start_tick_;
488 488
489 // The current state of this download. 489 // The current state of this download.
490 DownloadInternalState state_; 490 DownloadInternalState state_;
491 491
492 // Current danger type for the download. 492 // Current danger type for the download.
493 DownloadDangerType danger_type_; 493 DownloadDangerType danger_type_;
494 494
495 // The views of this item in the download shelf and download contents. 495 // The views of this item in the download shelf and download contents.
496 ObserverList<Observer> observers_; 496 base::ObserverList<Observer> observers_;
497 497
498 // Time the download was started. 498 // Time the download was started.
499 base::Time start_time_; 499 base::Time start_time_;
500 500
501 // Time the download completed. 501 // Time the download completed.
502 base::Time end_time_; 502 base::Time end_time_;
503 503
504 // Our delegate. 504 // Our delegate.
505 DownloadItemImplDelegate* delegate_; 505 DownloadItemImplDelegate* delegate_;
506 506
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 const net::BoundNetLog bound_net_log_; 551 const net::BoundNetLog bound_net_log_;
552 552
553 base::WeakPtrFactory<DownloadItemImpl> weak_ptr_factory_; 553 base::WeakPtrFactory<DownloadItemImpl> weak_ptr_factory_;
554 554
555 DISALLOW_COPY_AND_ASSIGN(DownloadItemImpl); 555 DISALLOW_COPY_AND_ASSIGN(DownloadItemImpl);
556 }; 556 };
557 557
558 } // namespace content 558 } // namespace content
559 559
560 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_ 560 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/dom_storage/dom_storage_context_impl.h ('k') | content/browser/download/download_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698