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

Side by Side Diff: chrome/browser/download/all_download_item_notifier_unittest.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 #include "chrome/browser/download/all_download_item_notifier.h" 5 #include "chrome/browser/download/all_download_item_notifier.h"
6 6
7 #include "base/macros.h"
7 #include "content/public/test/mock_download_item.h" 8 #include "content/public/test/mock_download_item.h"
8 #include "content/public/test/mock_download_manager.h" 9 #include "content/public/test/mock_download_manager.h"
9 #include "testing/gmock/include/gmock/gmock.h" 10 #include "testing/gmock/include/gmock/gmock.h"
10 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
11 12
12 using testing::NiceMock; 13 using testing::NiceMock;
13 using testing::SetArgPointee; 14 using testing::SetArgPointee;
14 using testing::_; 15 using testing::_;
15 16
16 namespace { 17 namespace {
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 108
108 EXPECT_CALL(observer(), OnDownloadCreated(&manager(), &item())); 109 EXPECT_CALL(observer(), OnDownloadCreated(&manager(), &item()));
109 NotifierAsManagerObserver()->OnDownloadCreated( 110 NotifierAsManagerObserver()->OnDownloadCreated(
110 &manager(), &item()); 111 &manager(), &item());
111 112
112 EXPECT_CALL(manager(), RemoveObserver(NotifierAsManagerObserver())); 113 EXPECT_CALL(manager(), RemoveObserver(NotifierAsManagerObserver()));
113 NotifierAsManagerObserver()->ManagerGoingDown(&manager()); 114 NotifierAsManagerObserver()->ManagerGoingDown(&manager());
114 115
115 ClearNotifier(); 116 ClearNotifier();
116 } 117 }
OLDNEW
« no previous file with comments | « chrome/browser/download/all_download_item_notifier.h ('k') | chrome/browser/download/chrome_download_manager_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698