Home
last modified time | relevance | path

Searched refs:weak_ptr (Results 1 – 25 of 34) sorted by relevance

12

/external/chromium_org/jingle/notifier/base/
Dweak_xmpp_client_unittest.cc76 base::WeakPtr<WeakXmppClient> weak_ptr = weak_xmpp_client->AsWeakPtr(); in TEST_F() local
77 EXPECT_TRUE(weak_ptr.get()); in TEST_F()
78 RaiseSignals(weak_ptr.get()); in TEST_F()
81 EXPECT_FALSE(weak_ptr.get()); in TEST_F()
94 base::WeakPtr<WeakXmppClient> weak_ptr = weak_xmpp_client->AsWeakPtr(); in TEST_F() local
95 EXPECT_TRUE(weak_ptr.get()); in TEST_F()
96 RaiseSignals(weak_ptr.get()); in TEST_F()
99 EXPECT_FALSE(weak_ptr.get()); in TEST_F()
112 base::WeakPtr<WeakXmppClient> weak_ptr = weak_xmpp_client->AsWeakPtr(); in TEST_F() local
113 EXPECT_TRUE(weak_ptr.get()); in TEST_F()
[all …]
Dxmpp_connection_unittest.cc170 base::WeakPtr<talk_base::Task> weak_ptr; in TEST_F() local
172 WillOnce(SaveArg<0>(&weak_ptr)); in TEST_F()
181 EXPECT_EQ(xmpp_connection.weak_xmpp_client_.get(), weak_ptr.get()); in TEST_F()
184 EXPECT_EQ(NULL, weak_ptr.get()); in TEST_F()
189 base::WeakPtr<talk_base::Task> weak_ptr; in TEST_F()
191 WillOnce(SaveArg<0>(&weak_ptr)); in TEST_F()
204 EXPECT_EQ(xmpp_connection.weak_xmpp_client_.get(), weak_ptr.get()); in TEST_F()
210 base::WeakPtr<talk_base::Task> weak_ptr; in TEST_F() local
212 WillOnce(SaveArg<0>(&weak_ptr)); in TEST_F()
222 EXPECT_EQ(xmpp_connection.weak_xmpp_client_.get(), weak_ptr.get()); in TEST_F()
[all …]
/external/chromium_org/google_apis/drive/
Drequest_sender_unittest.cc140 base::WeakPtr<AuthenticatedRequestInterface> weak_ptr = request->GetWeakPtr(); in TEST_F() local
149 EXPECT_FALSE(weak_ptr); // The request object is deleted. in TEST_F()
163 base::WeakPtr<AuthenticatedRequestInterface> weak_ptr = request->GetWeakPtr(); in TEST_F() local
171 EXPECT_FALSE(weak_ptr); // The request object is deleted. in TEST_F()
183 base::WeakPtr<AuthenticatedRequestInterface> weak_ptr = request->GetWeakPtr(); in TEST_F() local
191 EXPECT_FALSE(weak_ptr); // The request object is deleted. in TEST_F()
202 base::WeakPtr<AuthenticatedRequestInterface> weak_ptr = request->GetWeakPtr(); in TEST_F() local
213 EXPECT_FALSE(weak_ptr); // The request object is deleted. in TEST_F()
222 base::WeakPtr<AuthenticatedRequestInterface> weak_ptr = request->GetWeakPtr(); in TEST_F() local
247 EXPECT_FALSE(weak_ptr); in TEST_F()
/external/chromium_org/content/renderer/pepper/
Dpepper_broker.cc166 base::WeakPtr<PPB_Broker_Impl>& weak_ptr = i->second.client; in OnBrokerChannelConnected() local
172 if (weak_ptr.get()) in OnBrokerChannelConnected()
173 ConnectPluginToBroker(weak_ptr.get()); in OnBrokerChannelConnected()
222 base::WeakPtr<PPB_Broker_Impl>& weak_ptr = i->second.client; in ReportFailureToClients() local
223 if (weak_ptr.get()) { in ReportFailureToClients()
224 weak_ptr->BrokerConnected( in ReportFailureToClients()
/external/stlport/stlport/
Dmemory76 template<class T> class weak_ptr;
82 template<class T> void swap(weak_ptr<T> & a, weak_ptr<T> & b);
96 # include <boost/weak_ptr.hpp>
113 using ::boost::weak_ptr;
117 // weak_ptr IO
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
Dp4.cpp210 template<typename T> struct weak_ptr { struct
211 constexpr weak_ptr() : p(0) {} in weak_ptr() function
215 weak_ptr<T> weak_this; argument
/external/chromium_org/sync/internal_api/public/util/
Dweak_handle_unittest.cc287 const base::WeakPtr<Derived> weak_ptr; in TEST_F() local
290 WeakHandle<Base> base_weak_handle(MakeWeakHandle(weak_ptr)); in TEST_F()
292 const WeakHandle<Derived> derived_weak_handle(MakeWeakHandle(weak_ptr)); in TEST_F()
/external/chromium_org/chrome/browser/chromeos/dbus/
Dproxy_resolution_service_provider.h112 base::WeakPtr<ProxyResolutionServiceProvider> weak_ptr,
/external/chromium_org/chrome/browser/chromeos/imageburner/
Dburn_manager.cc228 base::WeakPtr<BurnManager> weak_ptr(weak_ptr_factory_.GetWeakPtr()); in BurnManager() local
230 base::Bind(&BurnManager::NotifyDeviceAdded, weak_ptr), in BurnManager()
231 base::Bind(&BurnManager::NotifyDeviceRemoved, weak_ptr)); in BurnManager()
/external/chromium_org/base/memory/
Dweak_ptr_unittest.cc295 WeakPtr<Target> weak_ptr = target->AsWeakPtr(); in TEST() local
296 EXPECT_EQ(target.get(), weak_ptr.get()); in TEST()
318 WeakPtr<Target> weak_ptr = target->AsWeakPtr(); in TEST() local
Dweak_ptr_unittest.nc5 #include "base/memory/weak_ptr.h"
/external/chromium_org/chrome/renderer/pepper/
Dpepper_flash_renderer_host.cc353 base::WeakPtr<PepperFlashRendererHost> weak_ptr = weak_factory_.GetWeakPtr(); in OnNavigate() local
361 if (weak_ptr.get()) { in OnNavigate()
/external/chromium_org/base/
Dbind_internal.h878 static void MakeItSo(Runnable runnable, BoundWeakPtr weak_ptr) {
879 if (!weak_ptr.get()) {
882 runnable.Run(weak_ptr.get());
905 static void MakeItSo(Runnable runnable, BoundWeakPtr weak_ptr, A2 a2) {
906 if (!weak_ptr.get()) {
909 runnable.Run(weak_ptr.get(), CallbackForward(a2));
934 static void MakeItSo(Runnable runnable, BoundWeakPtr weak_ptr, A2 a2, A3 a3) {
935 if (!weak_ptr.get()) {
938 runnable.Run(weak_ptr.get(), CallbackForward(a2), CallbackForward(a3));
965 static void MakeItSo(Runnable runnable, BoundWeakPtr weak_ptr, A2 a2, A3 a3,
[all …]
Dbind_internal.h.pump22 #include "base/memory/weak_ptr.h"
318 static void MakeItSo(Runnable runnable, BoundWeakPtr weak_ptr
320 if (!weak_ptr.get()) {
323 runnable.Run(weak_ptr.get()
Dbase.target.linux-mips.mk130 base/memory/weak_ptr.cc \
/external/chromium_org/net/spdy/
Dspdy_proxy_client_socket.cc499 base::WeakPtr<SpdyProxyClientSocket> weak_ptr = weak_factory_.GetWeakPtr(); in OnClose() local
516 if (weak_ptr.get() && !write_callback.is_null()) in OnClose()
/external/chromium_org/chrome/browser/ui/cocoa/
Done_click_signin_bubble_controller_unittest.mm12 #include "base/memory/weak_ptr.h"
Dkeystone_infobar_delegate.mm13 #include "base/memory/weak_ptr.h"
/external/chromium_org/chrome/browser/ui/cocoa/autofill/
Dnew_credit_card_bubble_cocoa_unittest.mm13 #include "base/memory/weak_ptr.h"
/external/chromium_org/chrome/browser/ui/autofill/
Dautofill_dialog_controller_browsertest.cc527 base::WeakPtr<TestAutofillDialogController> weak_ptr = in IN_PROC_BROWSER_TEST_F() local
529 EXPECT_TRUE(weak_ptr.get()); in IN_PROC_BROWSER_TEST_F()
532 EXPECT_TRUE(weak_ptr.get()); in IN_PROC_BROWSER_TEST_F()
535 EXPECT_FALSE(weak_ptr.get()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/cocoa/panels/
Ddisplay_settings_provider_cocoa.mm7 #include "base/memory/weak_ptr.h"
/external/chromium_org/content/common/gpu/
Dgpu_channel.cc463 base::WeakPtr<GpuChannel>* weak_ptr(new base::WeakPtr<GpuChannel>( in Init() local
467 weak_ptr, in Init()
/external/chromium/base/
Dbase.gypi149 'memory/weak_ptr.cc',
150 'memory/weak_ptr.h',
/external/chromium_org/remoting/host/
Ddisconnect_window_mac.mm12 #include "base/memory/weak_ptr.h"
/external/chromium_org/chrome/browser/storage_monitor/
Dimage_capture_device_manager_unittest.mm12 #include "base/memory/weak_ptr.h"

12