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

Unified Diff: native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_core_interface.h

Issue 148223005: [NaCl SDK] Add fake for ppb_host_resolver and ppb_net_address (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_core_interface.h
diff --git a/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_core_interface.h b/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_core_interface.h
index fa6fe238c6e038f0f59373f145b001108a954069..de50365c8cece7347fab6b16c6f59d3e63ed17f5 100644
--- a/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_core_interface.h
+++ b/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_core_interface.h
@@ -11,16 +11,16 @@
class FakeCoreInterface : public nacl_io::CoreInterface {
public:
- FakeCoreInterface();
+ FakeCoreInterface(FakeResourceManager* manager);
binji 2014/01/28 18:13:22 explicit
Sam Clegg 2014/01/28 19:55:22 Done.
virtual void AddRefResource(PP_Resource handle);
virtual void ReleaseResource(PP_Resource handle);
virtual PP_Bool IsMainThread() { return PP_FALSE; }
- FakeResourceManager* resource_manager() { return &resource_manager_; }
+ FakeResourceManager* resource_manager() { return resource_manager_; }
private:
- FakeResourceManager resource_manager_;
+ FakeResourceManager* resource_manager_;
binji 2014/01/28 18:13:22 weak reference
Sam Clegg 2014/01/28 19:55:22 Done.
DISALLOW_COPY_AND_ASSIGN(FakeCoreInterface);
};

Powered by Google App Engine
This is Rietveld 408576698