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 #include "content/public/test/download_test_observer.h" | 5 #include "content/public/test/download_test_observer.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 MessageLoopForUI::current()->Quit(); | 379 MessageLoopForUI::current()->Quit(); |
380 } | 380 } |
381 | 381 |
382 const DownloadUrlParameters::OnStartedCallback | 382 const DownloadUrlParameters::OnStartedCallback |
383 DownloadTestItemCreationObserver::callback() { | 383 DownloadTestItemCreationObserver::callback() { |
384 return base::Bind( | 384 return base::Bind( |
385 &DownloadTestItemCreationObserver::DownloadItemCreationCallback, this); | 385 &DownloadTestItemCreationObserver::DownloadItemCreationCallback, this); |
386 } | 386 } |
387 | 387 |
388 } // namespace content | 388 } // namespace content |
OLD | NEW |