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

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

Issue 17962002: Merge 208513 "PPAPI: Move PPB_NetworkProxy out of Dev" (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1547/src/
Patch Set: 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 pp::NetworkProxy::GetProxyForURL(instance_, 67 pp::NetworkProxy::GetProxyForURL(instance_,
68 pp::Var(42), // non-string Var 68 pp::Var(42), // non-string Var
69 callback.GetCallback())); 69 callback.GetCallback()));
70 CHECK_CALLBACK_BEHAVIOR(callback); 70 CHECK_CALLBACK_BEHAVIOR(callback);
71 ASSERT_EQ(PP_ERROR_BADARGUMENT, callback.result()); 71 ASSERT_EQ(PP_ERROR_BADARGUMENT, callback.result());
72 // TODO(dmichael): Add this check below when crbug.com/250046 is fixed. 72 // TODO(dmichael): Add this check below when crbug.com/250046 is fixed.
73 // ASSERT_TRUE(callback.output().is_undefined()); 73 // ASSERT_TRUE(callback.output().is_undefined());
74 74
75 PASS(); 75 PASS();
76 } 76 }
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