/external/chromium_org/cc/test/ |
fake_video_frame_provider.cc | 10 : frame_(NULL), client_(NULL) {} 13 if (client_) 14 client_->StopUsingProvider(); 18 client_ = client;
|
fake_output_surface.cc | 21 client_(NULL), 36 client_(NULL), 51 client_(NULL), 77 client_->DidSwapBuffers(); 99 client_->BeginFrame(CreateBeginFrameArgsForTesting()); 105 client_ = client; 107 client_->SetMemoryPolicy(*memory_policy_to_set_at_bind_.get()); 118 DCHECK(client_); 119 client_->SetTreeActivationCallback(callback);
|
/external/chromium_org/components/password_manager/core/browser/ |
browser_save_password_progress_logger.cc | 13 : client_(client) { 14 DCHECK(client_); 20 client_->LogSavePasswordProgress(log);
|
log_router_unittest.cc | 38 testing::StrictMock<MockClient> client_; member in class:password_manager::LogRouterTest 104 EXPECT_FALSE(router.RegisterClient(&client_)); 105 router.UnregisterClient(&client_); 113 EXPECT_TRUE(router.RegisterClient(&client_)); 116 EXPECT_CALL(client_, OnLogRouterAvailabilityChanged(false)).Times(1); 118 router.UnregisterClient(&client_); 125 EXPECT_FALSE(router.RegisterClient(&client_)); 127 EXPECT_CALL(client_, OnLogRouterAvailabilityChanged(true)).Times(1); 130 router.UnregisterClient(&client_); 132 EXPECT_CALL(client_, OnLogRouterAvailabilityChanged(_)).Times(0) [all...] |
/external/chromium_org/content/shell/renderer/test_runner/ |
mock_webrtc_dtmf_sender_handler.cc | 20 : WebMethodTask<MockWebRTCDTMFSenderHandler>(object), client_(client) {} 25 client_->didPlayTone(tones); 29 WebRTCDTMFSenderHandlerClient* client_; member in class:content::DTMFSenderToneTask 37 : client_(0), track_(track), delegate_(delegate) { 42 client_ = client; 50 DCHECK(client_ && !track_.isNull()); 59 DCHECK(client_); 64 delegate_->postTask(new DTMFSenderToneTask(this, client_)); 65 delegate_->postTask(new DTMFSenderToneTask(this, client_));
|
mock_webrtc_data_channel_handler.cc | 40 : client_(0), label_(label), init_(init), delegate_(delegate) { 47 client_ = client; 48 if (client_) 50 this, client_, WebRTCDataChannelHandlerClient::ReadyStateOpen)); 90 DCHECK(client_); 91 client_->didReceiveStringData(data); 96 DCHECK(client_); 97 client_->didReceiveRawData(data, size); 102 DCHECK(client_); 104 this, client_, WebRTCDataChannelHandlerClient::ReadyStateClosed)) [all...] |
/external/chromium_org/components/policy/core/common/cloud/ |
cloud_policy_client_unittest.cc | 108 client_->RemoveObserver(&observer_); 113 client_->SetupRegistration(kDMToken, client_id_); 117 if (client_.get()) 118 client_->RemoveObserver(&observer_); 122 client_.reset(new CloudPolicyClient(kMachineID, kMachineModel, 127 client_->AddNamespaceToFetch(policy_ns_key_); 128 client_->AddObserver(&observer_); 175 ASSERT_TRUE(client_->GetPolicyFor(policy_ns_key_)); 176 EXPECT_THAT(*client_->GetPolicyFor(policy_ns_key_), 206 scoped_ptr<CloudPolicyClient> client_; member in class:policy::CloudPolicyClientTest [all...] |
cloud_policy_service_unittest.cc | 36 service_(policy_ns_key_, &client_, &store_) {} 42 MockCloudPolicyClient client_; member in class:policy::CloudPolicyServiceTest 64 client_.SetPolicy(policy_ns_key_, policy); 66 client_.NotifyPolicyFetched(); 69 // transferred to |client_|. 76 EXPECT_CALL(client_, 81 client_.last_policy_timestamp_); 82 EXPECT_TRUE(client_.submit_machine_id_); 83 EXPECT_TRUE(client_.public_key_version_valid_); 84 EXPECT_EQ(17, client_.public_key_version_) [all...] |
cloud_policy_service.cc | 18 client_(client), 22 client_->AddNamespaceToFetch(policy_ns_key_); 23 client_->AddObserver(this); 26 // Make sure we initialize |client_| from the policy data that might be 32 client_->RemoveNamespaceToFetch(policy_ns_key_); 33 client_->RemoveObserver(this); 50 if (!client_->is_registered()) { 58 client_->FetchPolicy(); 62 if (client_->status() != DM_STATUS_SUCCESS) { 67 const em::PolicyFetchResponse* policy = client_->GetPolicyFor(policy_ns_key_) [all...] |
cloud_policy_core.cc | 30 CHECK(!client_); 32 client_ = client.Pass(); 33 service_.reset(new CloudPolicyService(policy_ns_key_, client_.get(), store_)); 38 if (client_) 43 client_.reset(); 54 new CloudPolicyRefreshScheduler(client_.get(), store_, task_runner_));
|
cloud_policy_refresh_scheduler_unittest.cc | 39 client_.SetDMToken("token"); 58 new CloudPolicyRefreshScheduler(&client_, &store_, task_runner_); 139 MockCloudPolicyClient client_; member in class:policy::CloudPolicyRefreshSchedulerTest 153 EXPECT_CALL(client_, FetchPolicy()).Times(1); 161 EXPECT_CALL(client_, FetchPolicy()).Times(1); 169 EXPECT_CALL(client_, FetchPolicy()).Times(1); 175 client_.SetPolicy(PolicyNamespaceKey(dm_protocol::kChromeUserPolicyType, 180 EXPECT_CALL(client_, FetchPolicy()).Times(1); 185 client_.SetDMToken(std::string()); 187 client_.NotifyPolicyFetched() [all...] |
/external/chromium_org/chrome/browser/bookmarks/ |
chrome_bookmark_client_unittest.cc | 32 ChromeBookmarkClientTest() : client_(NULL), model_(NULL) {} 43 ASSERT_TRUE(client_->managed_node()); 44 ASSERT_TRUE(client_->managed_node()->parent() == model_->root_node()); 45 EXPECT_NE(-1, model_->root_node()->GetIndexOf(client_->managed_node())); 57 client_ = ChromeBookmarkClientFactory::GetForProfile(&profile_); 58 DCHECK(client_); 133 ChromeBookmarkClient* client_; member in class:ChromeBookmarkClientTest 146 ASSERT_TRUE(client_->managed_node()); 147 EXPECT_TRUE(client_->managed_node()->empty()); 148 EXPECT_FALSE(client_->managed_node()->IsVisible()) [all...] |
/external/chromium_org/net/tools/quic/ |
end_to_end_test.cc | 147 explicit ClientDelegate(QuicClient* client) : client_(client) {} 151 client_->OnEvent(client_->fd(), &event); 154 QuicClient* client_; member in class:net::tools::test::__anon13772::ClientDelegate 223 CHECK(client_.get() == NULL); 229 CHECK(client_.get() == NULL); 236 CHECK(client_.get() == NULL); 266 client_.reset(CreateQuicClient(client_writer_)); 271 client_->client()->session()->connection())), 272 new ClientDelegate(client_->client())) 381 scoped_ptr<QuicTestClient> client_; member in class:net::tools::test::__anon13772::EndToEndTest [all...] |
/external/chromium_org/content/renderer/media/ |
renderer_webmidiaccessor_impl.cc | 15 : client_(client) { 16 DCHECK(client_); 20 midi_message_filter()->RemoveClient(client_); 24 midi_message_filter()->StartSession(client_);
|
video_frame_compositor.cc | 37 client_(NULL) { 41 if (client_) 42 client_->StopUsingProvider(); 47 if (client_) 48 client_->StopUsingProvider(); 49 client_ = client; 73 if (client_) 74 client_->DidReceiveFrame();
|
/external/chromium_org/media/audio/cras/ |
cras_input.cc | 23 client_(NULL), 34 DCHECK(!client_); 38 if (client_) { 63 if (cras_client_create(&client_) < 0) { 65 client_ = NULL; 69 if (cras_client_connect(client_)) { 71 cras_client_destroy(client_); 72 client_ = NULL; 77 if (cras_client_run_thread(client_)) { 79 cras_client_destroy(client_); [all...] |
/external/chromium_org/third_party/webrtc/base/ |
httprequest.cc | 54 client_(user_agent.c_str(), NULL), error_(HE_NONE) { 67 SslSocketFactory factory(ss, client_.agent()); 75 client_.set_pool(&pool); 81 client_.set_proxy(proxy_); 83 client_.set_fail_redirect(fail_redirect_); 86 client_.set_server(server); 88 LOG(LS_INFO) << "HttpRequest start: " << host_ + client_.request().path; 91 monitor.Connect(&client_); 92 client_.start(); 96 client_.reset() [all...] |
asynchttprequest.cc | 34 client_(user_agent.c_str(), &pool_), 36 client_.SignalHttpClientComplete.connect(this, 64 if (client_.response().hasHeader(HH_LOCATION, &value)) { 78 client_.reset(); 105 client_.set_proxy(proxy_); 107 client_.set_fail_redirect(fail_redirect_); 108 client_.set_server(SocketAddress(host_, port_)); 110 LOG(LS_INFO) << "HttpRequest start: " << host_ + client_.request().path; 113 client_.start();
|
/external/chromium_org/media/formats/webm/ |
webm_parser_unittest.cc | 36 StrictMock<MockWebMParserClient> client_; member in class:media::WebMParserTest 76 EXPECT_CALL(client_, OnListStart(kWebMIdCluster)).WillOnce(Return(&client_)); 77 EXPECT_CALL(client_, OnListEnd(kWebMIdCluster)).WillOnce(Return(true)); 79 WebMListParser parser(kWebMIdCluster, &client_); 92 EXPECT_CALL(client_, OnListStart(kWebMIdSegment)).WillOnce(Return(&client_)); 93 EXPECT_CALL(client_, OnListStart(kWebMIdCluster)).WillOnce(Return(&client_)); 94 EXPECT_CALL(client_, OnListEnd(kWebMIdCluster)).WillOnce(Return(true)) [all...] |
/external/chromium_org/content/child/ |
web_socket_stream_handle_impl.cc | 41 WebSocketStreamHandleClient* client() const { return client_; } 43 client_ = client; 50 // Must be called before |handle_| or |client_| is deleted. 51 // Once detached, it never calls |client_| back. 69 DCHECK(!client_); 74 WebSocketStreamHandleClient* client_; member in class:content::WebSocketStreamHandleImpl::Context 84 client_(NULL) { 114 client_ = NULL; 126 if (client_) 127 client_->didOpenStream(handle_, max_amount_send_allowed) [all...] |
/external/chromium_org/remoting/protocol/ |
v2_authenticator_unittest.cc | 47 client_ = V2Authenticator::CreateForClient( 67 ASSERT_EQ(Authenticator::ACCEPTED, client_->state()); 69 client_auth_ = client_->CreateChannelAuthenticator(); 87 ASSERT_EQ(Authenticator::REJECTED, client_->state()); 89 // Change |client_| so that we can get the last message. 90 reinterpret_cast<V2Authenticator*>(client_.get())->state_ = 93 scoped_ptr<buzz::XmlElement> message(client_->GetNextMessage()); 96 ASSERT_EQ(Authenticator::WAITING_MESSAGE, client_->state());
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
httprequest.cc | 71 client_(user_agent.c_str(), NULL), error_(HE_NONE) { 84 SslSocketFactory factory(ss, client_.agent()); 92 client_.set_pool(&pool); 98 client_.set_proxy(proxy_); 100 client_.set_fail_redirect(fail_redirect_); 103 client_.set_server(server); 105 LOG(LS_INFO) << "HttpRequest start: " << host_ + client_.request().path; 108 monitor.Connect(&client_); 109 client_.start(); 113 client_.reset() [all...] |
/external/chromium_org/content/common/gpu/client/ |
gpu_video_decode_accelerator_host.cc | 28 client_(NULL), 85 client_ = client; 176 client_ = NULL; 210 if (client_) 211 client_->NotifyEndOfBitstreamBuffer(bitstream_buffer_id); 220 if (client_) { 221 client_->ProvidePictureBuffers( 229 if (client_) 230 client_->DismissPictureBuffer(picture_buffer_id); 236 if (!client_) [all...] |
/external/chromium_org/chrome/browser/extensions/api/bookmarks/ |
bookmark_api_helpers_unittest.cc | 31 : client_(NULL), model_(NULL), node_(NULL), folder_(NULL) {} 36 client_ = ChromeBookmarkClientFactory::GetForProfile(&profile_); 55 ChromeBookmarkClient* client_; member in class:extensions::bookmark_api_helpers::ExtensionBookmarksTest 63 GetBookmarkTreeNode(client_, 72 GetBookmarkTreeNode(client_, 81 GetBookmarkTreeNode(client_, 93 GetBookmarkTreeNode(client_, 105 GetBookmarkTreeNode(client_, 117 model_->AddURL(client_->managed_node(), 122 GetBookmarkTreeNode(client_, [all...] |
/external/chromium_org/components/signin/core/browser/ |
profile_oauth2_token_service.cc | 15 : client_(NULL) {} 25 DCHECK(!client_); 26 client_ = client; 32 DCHECK(client_) << "Shutdown() called without matching call to Initialize()";
|