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

Side by Side Diff: chrome/test/ui/ppapi_uitest.cc

Issue 9696051: Add NetworkListObserver utility class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 | Annotate | Revision Log
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 "base/command_line.h" 5 #include "base/command_line.h"
6 #include "base/file_util.h" 6 #include "base/file_util.h"
7 #include "base/path_service.h" 7 #include "base/path_service.h"
8 #include "base/stringprintf.h" 8 #include "base/stringprintf.h"
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "base/test/test_timeouts.h" 10 #include "base/test/test_timeouts.h"
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 return StringPrintf("%stestcase=%s", base.c_str(), test_case.c_str()); 268 return StringPrintf("%stestcase=%s", base.c_str(), test_case.c_str());
269 } 269 }
270 270
271 }; 271 };
272 272
273 // Variant of PPAPITest that runs plugins out-of-process to test proxy 273 // Variant of PPAPITest that runs plugins out-of-process to test proxy
274 // codepaths. 274 // codepaths.
275 class OutOfProcessPPAPITest : public PPAPITest { 275 class OutOfProcessPPAPITest : public PPAPITest {
276 public: 276 public:
277 OutOfProcessPPAPITest() { 277 OutOfProcessPPAPITest() {
278 278
dmichael (off chromium) 2012/03/19 16:30:32 nit: extra line
Sergey Ulanov 2012/03/20 20:21:55 Didn't touch it in this CL.
279 } 279 }
280 280
281 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { 281 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
282 PPAPITest::SetUpCommandLine(command_line); 282 PPAPITest::SetUpCommandLine(command_line);
283 283
284 // Run PPAPI out-of-process to exercise proxy implementations. 284 // Run PPAPI out-of-process to exercise proxy implementations.
285 command_line->AppendSwitch(switches::kPpapiOutOfProcess); 285 command_line->AppendSwitch(switches::kPpapiOutOfProcess);
286 } 286 }
287 }; 287 };
288 288
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after
797 TEST_PPAPI_NACL_VIA_HTTP(NetAddressPrivateUntrusted_GetFamily) 797 TEST_PPAPI_NACL_VIA_HTTP(NetAddressPrivateUntrusted_GetFamily)
798 TEST_PPAPI_NACL_VIA_HTTP(MAYBE_NetAddressPrivateUntrusted_GetPort) 798 TEST_PPAPI_NACL_VIA_HTTP(MAYBE_NetAddressPrivateUntrusted_GetPort)
799 TEST_PPAPI_NACL_VIA_HTTP(NetAddressPrivateUntrusted_GetAddress) 799 TEST_PPAPI_NACL_VIA_HTTP(NetAddressPrivateUntrusted_GetAddress)
800 800
801 TEST_PPAPI_IN_PROCESS(NetworkMonitorPrivate_Basic) 801 TEST_PPAPI_IN_PROCESS(NetworkMonitorPrivate_Basic)
802 TEST_PPAPI_OUT_OF_PROCESS(NetworkMonitorPrivate_Basic) 802 TEST_PPAPI_OUT_OF_PROCESS(NetworkMonitorPrivate_Basic)
803 TEST_PPAPI_IN_PROCESS(NetworkMonitorPrivate_2Monitors) 803 TEST_PPAPI_IN_PROCESS(NetworkMonitorPrivate_2Monitors)
804 TEST_PPAPI_OUT_OF_PROCESS(NetworkMonitorPrivate_2Monitors) 804 TEST_PPAPI_OUT_OF_PROCESS(NetworkMonitorPrivate_2Monitors)
805 TEST_PPAPI_IN_PROCESS(NetworkMonitorPrivate_DeleteInCallback) 805 TEST_PPAPI_IN_PROCESS(NetworkMonitorPrivate_DeleteInCallback)
806 TEST_PPAPI_OUT_OF_PROCESS(NetworkMonitorPrivate_DeleteInCallback) 806 TEST_PPAPI_OUT_OF_PROCESS(NetworkMonitorPrivate_DeleteInCallback)
807 TEST_PPAPI_IN_PROCESS(NetworkMonitorPrivate_ListObserver)
808 TEST_PPAPI_OUT_OF_PROCESS(NetworkMonitorPrivate_ListObserver)
807 809
808 // PPB_TCPSocket_Private currently isn't supported in-process. 810 // PPB_TCPSocket_Private currently isn't supported in-process.
809 IN_PROC_BROWSER_TEST_F(OutOfProcessPPAPITest, TCPSocketPrivate) { 811 IN_PROC_BROWSER_TEST_F(OutOfProcessPPAPITest, TCPSocketPrivate) {
810 RunTestViaHTTP("TCPSocketPrivate"); 812 RunTestViaHTTP("TCPSocketPrivate");
811 } 813 }
812 814
813 TEST_PPAPI_IN_PROCESS(Flash_SetInstanceAlwaysOnTop) 815 TEST_PPAPI_IN_PROCESS(Flash_SetInstanceAlwaysOnTop)
814 TEST_PPAPI_IN_PROCESS(Flash_GetProxyForURL) 816 TEST_PPAPI_IN_PROCESS(Flash_GetProxyForURL)
815 TEST_PPAPI_IN_PROCESS(Flash_MessageLoop) 817 TEST_PPAPI_IN_PROCESS(Flash_MessageLoop)
816 TEST_PPAPI_IN_PROCESS(Flash_GetLocalTimeZoneOffset) 818 TEST_PPAPI_IN_PROCESS(Flash_GetLocalTimeZoneOffset)
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
960 TEST_PPAPI_OUT_OF_PROCESS(ResourceArray_OutOfRangeAccess) 962 TEST_PPAPI_OUT_OF_PROCESS(ResourceArray_OutOfRangeAccess)
961 TEST_PPAPI_OUT_OF_PROCESS(ResourceArray_EmptyArray) 963 TEST_PPAPI_OUT_OF_PROCESS(ResourceArray_EmptyArray)
962 TEST_PPAPI_OUT_OF_PROCESS(ResourceArray_InvalidElement) 964 TEST_PPAPI_OUT_OF_PROCESS(ResourceArray_InvalidElement)
963 965
964 TEST_PPAPI_IN_PROCESS(FlashMessageLoop_Basics) 966 TEST_PPAPI_IN_PROCESS(FlashMessageLoop_Basics)
965 TEST_PPAPI_IN_PROCESS(FlashMessageLoop_RunWithoutQuit) 967 TEST_PPAPI_IN_PROCESS(FlashMessageLoop_RunWithoutQuit)
966 TEST_PPAPI_OUT_OF_PROCESS(FlashMessageLoop_Basics) 968 TEST_PPAPI_OUT_OF_PROCESS(FlashMessageLoop_Basics)
967 TEST_PPAPI_OUT_OF_PROCESS(FlashMessageLoop_RunWithoutQuit) 969 TEST_PPAPI_OUT_OF_PROCESS(FlashMessageLoop_RunWithoutQuit)
968 970
969 #endif // ADDRESS_SANITIZER 971 #endif // ADDRESS_SANITIZER
OLDNEW
« no previous file with comments | « no previous file | ppapi/cpp/private/network_list_private.h » ('j') | ppapi/tests/test_network_monitor_private.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698