/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_picture_pile_impl.h | 38 client_.add_draw_rect(rect, default_paint_); 42 client_.add_draw_bitmap(bitmap, point, default_paint_); 46 client_.add_draw_rect(rect, paint); 52 client_.add_draw_bitmap(bitmap, point, paint); 71 FakeContentLayerClient client_; member in class:cc::FakePicturePileImpl
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
auto_enrollment_client_unittest.cc | 62 client_.reset(new AutoEnrollmentClient(callback, 133 scoped_ptr<AutoEnrollmentClient> client_; member in class:policy::__anon6986::AutoEnrollmentClientTest 143 client_->Start(); 144 EXPECT_FALSE(client_->should_auto_enroll()); 151 client_->Start(); 152 EXPECT_FALSE(client_->should_auto_enroll()); 159 client_->Start(); 160 EXPECT_FALSE(client_->should_auto_enroll()); 174 client_->Start(); 175 EXPECT_FALSE(client_->should_auto_enroll()) [all...] |
enrollment_handler_chromeos.cc | 44 client_(client.Pass()), 55 CHECK(!client_->is_registered()); 56 CHECK_EQ(DM_STATUS_SUCCESS, client_->status()); 58 client_->AddObserver(this); 59 client_->AddNamespaceToFetch(PolicyNamespaceKey( 76 return client_.Pass(); 80 DCHECK_EQ(client_.get(), client); 86 const em::PolicyFetchResponse* policy = client_->GetPolicyFor( 115 DCHECK_EQ(client_.get(), client); 117 if (enrollment_step_ == STEP_REGISTRATION && client_->is_registered()) [all...] |
/external/chromium_org/chrome/browser/policy/cloud/ |
cloud_policy_client_unittest.cc | 107 client_->RemoveObserver(&observer_); 112 client_->SetupRegistration(kDMToken, client_id_); 116 if (client_.get()) 117 client_->RemoveObserver(&observer_); 119 client_.reset(new CloudPolicyClient(kMachineID, kMachineModel, 122 client_->AddNamespaceToFetch(policy_ns_key_); 123 client_->AddObserver(&observer_); 166 ASSERT_TRUE(client_->GetPolicyFor(policy_ns_key_)); 167 EXPECT_THAT(*client_->GetPolicyFor(policy_ns_key_), 196 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 | 26 CHECK(!client_); 28 client_ = client.Pass(); 29 service_.reset(new CloudPolicyService(policy_ns_key_, client_.get(), store_)); 36 client_.reset(); 48 client_.get(), store_,
|
cloud_policy_refresh_scheduler_unittest.cc | 41 client_.SetDMToken("token"); 60 new CloudPolicyRefreshScheduler(&client_, &store_, task_runner_); 144 MockCloudPolicyClient client_; member in class:policy::CloudPolicyRefreshSchedulerTest 158 EXPECT_CALL(client_, FetchPolicy()).Times(1); 166 EXPECT_CALL(client_, FetchPolicy()).Times(1); 174 EXPECT_CALL(client_, FetchPolicy()).Times(1); 180 client_.SetPolicy(PolicyNamespaceKey(dm_protocol::kChromeUserPolicyType, 185 EXPECT_CALL(client_, FetchPolicy()).Times(1); 190 client_.SetDMToken(std::string()); 192 client_.NotifyPolicyFetched() [all...] |
/external/chromium_org/net/tools/quic/ |
end_to_end_test.cc | 148 client_.reset(CreateQuicClient()); 149 return client_->client()->connected(); 208 scoped_ptr<QuicTestClient> client_; member in class:net::tools::test::__anon11577::EndToEndTest 229 EXPECT_EQ(kFooResponseBody, client_->SendSynchronousRequest("/foo")); 230 EXPECT_EQ(200u, client_->response_headers()->parsed_response_code()); 247 EXPECT_EQ(kFooResponseBody, client_->SendSynchronousRequest("/foo")); 248 EXPECT_EQ(200u, client_->response_headers()->parsed_response_code()); 264 client_->SendMessage(request); 266 client_->SendData(string(), true); 268 client_->WaitForResponse() [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_);
|
webaudiosourceprovider_impl.cc | 53 client_(NULL), 62 if (client && client != client_) { 67 client_ = client; 77 } else if (!client && client_) { 79 client_ = NULL; 109 DCHECK(client_); 119 if (!client_) 126 if (!client_) 134 if (!client_) 142 if (!client_) [all...] |
pepper_platform_video_decoder.cc | 20 : client_(client), 78 client_ = NULL; 85 client_->NotifyError(error); 93 client_->ProvidePictureBuffers(requested_num_of_buffers, dimensions, 99 client_->DismissPictureBuffer(picture_buffer_id); 104 client_->PictureReady(picture); 114 client_->NotifyEndOfBitstreamBuffer(bitstream_buffer_id); 119 client_->NotifyFlushDone(); 124 client_->NotifyResetDone();
|
/external/chromium_org/media/audio/cras/ |
cras_input.cc | 25 client_(NULL), 36 DCHECK(!client_); 40 if (client_) { 65 if (cras_client_create(&client_) < 0) { 67 client_ = NULL; 71 if (cras_client_connect(client_)) { 73 cras_client_destroy(client_); 74 client_ = NULL; 79 if (cras_client_run_thread(client_)) { 81 cras_client_destroy(client_); [all...] |
/external/chromium_org/chrome_frame/ |
custom_sync_call_context.cc | 11 : client_(client) { 17 client_->CreateExternalTabComplete(chrome_window, tab_window, 19 client_->PostTask( 21 client_.get(), launch_result)); 25 : client_(client) { 30 client_->BeginNavigateCompleted(response);
|
/external/chromium_org/webkit/support/ |
weburl_loader_mock.cc | 16 client_(NULL), 30 if (!client_) 33 client_->didReceiveResponse(this, response); 36 client_->didFail(this, error); 39 client_->didReceiveData(this, data.data(), data.size(), data.size()); 40 client_->didFinishLoading(this, 0); 49 client_->willSendRequest(this, newRequest, redirectResponse); 71 client_ = client; 87 client_ = NULL;
|
/external/chromium_org/media/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_); 93 EXPECT_CALL(client_, OnListStart(kWebMIdSegment)).WillOnce(Return(&client_)); 94 EXPECT_CALL(client_, OnListStart(kWebMIdCluster)).WillOnce(Return(&client_)); 95 EXPECT_CALL(client_, OnListEnd(kWebMIdCluster)).WillOnce(Return(true)) [all...] |
/external/chromium_org/webkit/child/ |
websocketstreamhandle_impl.cc | 40 WebSocketStreamHandleClient* client() const { return client_; } 42 client_ = client; 49 // Must be called before |handle_| or |client_| is deleted. 50 // Once detached, it never calls |client_| back. 66 DCHECK(!client_); 71 WebSocketStreamHandleClient* client_; member in class:webkit_glue::WebSocketStreamHandleImpl::Context 81 client_(NULL) { 109 client_ = NULL; 121 if (client_) 122 client_->didOpenStream(handle_, max_amount_send_allowed) [all...] |
/external/chromium/chrome/browser/extensions/ |
pack_extension_job.cc | 19 : client_(client), key_file_(key_file), asynchronous_(true) { 35 client_ = NULL; 74 if (client_) 75 client_->OnPackSuccess(crx_file_out_, key_file_out_); 79 if (client_) 80 client_->OnPackFailure(error);
|
/external/chromium_org/content/browser/renderer_host/input/ |
tap_suppression_controller.cc | 15 : client_(client), 48 client_->ForwardStashedTapDownForDeferral(); 65 base::TimeDelta::FromMilliseconds(client_->MaxTapGapTimeInMs())); 73 < client_->MaxCancelToDownTimeInMs()) { 76 base::TimeDelta::FromMilliseconds(client_->MaxTapGapTimeInMs())); 95 client_->DropStashedTapDown(); 111 client_->DropStashedTapDown(); 143 client_->ForwardStashedTapDownSkipDeferral();
|
/external/chromium_org/remoting/protocol/ |
v2_authenticator_unittest.cc | 47 client_ = V2Authenticator::CreateForClient( 60 ASSERT_EQ(Authenticator::ACCEPTED, client_->state()); 62 client_auth_ = client_->CreateChannelAuthenticator(); 80 ASSERT_EQ(Authenticator::REJECTED, client_->state()); 82 // Change |client_| so that we can get the last message. 83 reinterpret_cast<V2Authenticator*>(client_.get())->state_ = 86 scoped_ptr<buzz::XmlElement> message(client_->GetNextMessage()); 89 ASSERT_EQ(Authenticator::WAITING_MESSAGE, client_->state());
|
/external/chromium_org/content/common/gpu/client/ |
gpu_video_decode_accelerator_host.cc | 30 client_(client), 33 DCHECK(client_); 136 client_ = NULL; 150 DCHECK(!client_) << "destructor called without Destroy being called!"; 181 if (client_) 182 client_->NotifyEndOfBitstreamBuffer(bitstream_buffer_id); 190 if (client_) { 191 client_->ProvidePictureBuffers( 199 if (client_) 200 client_->DismissPictureBuffer(picture_buffer_id) [all...] |
/external/chromium/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/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/webkit/glue/ |
websocketstreamhandle_impl.cc | 31 WebKit::WebSocketStreamHandleClient* client() const { return client_; } 33 client_ = client; 40 // Must be called before |handle_| or |client_| is deleted. 41 // Once detached, it never calls |client_| back. 55 DCHECK(!client_); 60 WebKit::WebSocketStreamHandleClient* client_; member in class:webkit_glue::WebSocketStreamHandleImpl::Context 70 client_(NULL), 97 client_ = NULL; 109 if (client_) 110 client_->didOpenStream(handle_, max_amount_send_allowed) [all...] |