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

Side by Side Diff: ppapi/tests/test_network_proxy.cc

Issue 17004010: PPAPI: Move PPB_NetworkProxy out of Dev (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 7 years, 5 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
« no previous file with comments | « ppapi/tests/all_cpp_includes.h ('k') | ppapi/thunk/interfaces_ppb_public_dev.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "ppapi/tests/test_network_proxy.h" 5 #include "ppapi/tests/test_network_proxy.h"
6 6
7 #include "ppapi/cpp/dev/network_proxy_dev.h"
8 #include "ppapi/cpp/instance.h" 7 #include "ppapi/cpp/instance.h"
8 #include "ppapi/cpp/network_proxy.h"
9 #include "ppapi/cpp/var.h" 9 #include "ppapi/cpp/var.h"
10 #include "ppapi/tests/testing_instance.h" 10 #include "ppapi/tests/testing_instance.h"
11 11
12 REGISTER_TEST_CASE(NetworkProxy); 12 REGISTER_TEST_CASE(NetworkProxy);
13 13
14 TestNetworkProxy::TestNetworkProxy(TestingInstance* instance) 14 TestNetworkProxy::TestNetworkProxy(TestingInstance* instance)
15 : TestCase(instance) { 15 : TestCase(instance) {
16 } 16 }
17 17
18 void TestNetworkProxy::RunTests(const std::string& filter) { 18 void TestNetworkProxy::RunTests(const std::string& filter) {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 pp::NetworkProxy::GetProxyForURL(instance_, 68 pp::NetworkProxy::GetProxyForURL(instance_,
69 pp::Var(42), // non-string Var 69 pp::Var(42), // non-string Var
70 callback.GetCallback())); 70 callback.GetCallback()));
71 CHECK_CALLBACK_BEHAVIOR(callback); 71 CHECK_CALLBACK_BEHAVIOR(callback);
72 ASSERT_EQ(PP_ERROR_BADARGUMENT, callback.result()); 72 ASSERT_EQ(PP_ERROR_BADARGUMENT, callback.result());
73 // TODO(dmichael): Add this check below when crbug.com/250046 is fixed. 73 // TODO(dmichael): Add this check below when crbug.com/250046 is fixed.
74 // ASSERT_TRUE(callback.output().is_undefined()); 74 // ASSERT_TRUE(callback.output().is_undefined());
75 75
76 PASS(); 76 PASS();
77 } 77 }
OLDNEW
« no previous file with comments | « ppapi/tests/all_cpp_includes.h ('k') | ppapi/thunk/interfaces_ppb_public_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698