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

Side by Side Diff: components/guest_view/browser/guest_view_manager_unittest.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "base/macros.h"
5 #include "components/guest_view/browser/guest_view_manager.h" 6 #include "components/guest_view/browser/guest_view_manager.h"
6 #include "components/guest_view/browser/guest_view_manager_delegate.h" 7 #include "components/guest_view/browser/guest_view_manager_delegate.h"
7 #include "components/guest_view/browser/test_guest_view_manager.h" 8 #include "components/guest_view/browser/test_guest_view_manager.h"
8 #include "content/public/test/test_browser_context.h" 9 #include "content/public/test/test_browser_context.h"
9 #include "content/public/test/test_renderer_host.h" 10 #include "content/public/test/test_renderer_host.h"
10 #include "content/public/test/web_contents_tester.h" 11 #include "content/public/test/web_contents_tester.h"
11 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
12 13
13 using content::WebContents; 14 using content::WebContents;
14 using content::WebContentsTester; 15 using content::WebContentsTester;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 EXPECT_EQ(3, manager->last_instance_id_removed()); 76 EXPECT_EQ(3, manager->last_instance_id_removed());
76 77
77 EXPECT_FALSE(manager->CanUseGuestInstanceID(1)); 78 EXPECT_FALSE(manager->CanUseGuestInstanceID(1));
78 EXPECT_FALSE(manager->CanUseGuestInstanceID(2)); 79 EXPECT_FALSE(manager->CanUseGuestInstanceID(2));
79 EXPECT_FALSE(manager->CanUseGuestInstanceID(3)); 80 EXPECT_FALSE(manager->CanUseGuestInstanceID(3));
80 81
81 EXPECT_EQ(0u, manager->GetNumRemovedInstanceIDs()); 82 EXPECT_EQ(0u, manager->GetNumRemovedInstanceIDs());
82 } 83 }
83 84
84 } // namespace guest_view 85 } // namespace guest_view
OLDNEW
« no previous file with comments | « components/guest_view/browser/guest_view_event.h ('k') | components/guest_view/browser/guest_view_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698