OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/memory/scoped_ptr.h" | 5 #include "base/memory/scoped_ptr.h" |
6 #include "base/message_loop.h" | 6 #include "base/message_loop/message_loop.h" |
7 #include "base/values.h" | 7 #include "base/values.h" |
8 #include "content/browser/media/webrtc_internals.h" | 8 #include "content/browser/media/webrtc_internals.h" |
9 #include "content/browser/media/webrtc_internals_ui_observer.h" | 9 #include "content/browser/media/webrtc_internals_ui_observer.h" |
10 #include "content/public/test/test_browser_thread.h" | 10 #include "content/public/test/test_browser_thread.h" |
11 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
12 | 12 |
13 namespace content { | 13 namespace content { |
14 | 14 |
15 namespace { | 15 namespace { |
16 | 16 |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 EXPECT_TRUE(dict->GetString("type", &value)); | 149 EXPECT_TRUE(dict->GetString("type", &value)); |
150 EXPECT_EQ(update_type, value); | 150 EXPECT_EQ(update_type, value); |
151 EXPECT_TRUE(dict->GetString("value", &value)); | 151 EXPECT_TRUE(dict->GetString("value", &value)); |
152 EXPECT_EQ(update_value, value); | 152 EXPECT_EQ(update_value, value); |
153 | 153 |
154 WebRTCInternals::GetInstance()->OnRemovePeerConnection(1, 2); | 154 WebRTCInternals::GetInstance()->OnRemovePeerConnection(1, 2); |
155 WebRTCInternals::GetInstance()->RemoveObserver(observer.get()); | 155 WebRTCInternals::GetInstance()->RemoveObserver(observer.get()); |
156 } | 156 } |
157 | 157 |
158 } // namespace content | 158 } // namespace content |
OLD | NEW |