Searched refs:client_id (Results 1 - 25 of 264) sorted by relevance

1234567891011

/external/chromium_org/gpu/command_buffer/service/
H A Did_manager_unittest.cc37 GLuint client_id = 0; local
38 EXPECT_TRUE(manager_.GetClientId(kServiceId1, &client_id));
39 EXPECT_EQ(kClientId1, client_id);
42 client_id = 0;
44 EXPECT_FALSE(manager_.GetClientId(kServiceId2, &client_id));
46 EXPECT_EQ(0u, client_id);
55 client_id = 0;
56 EXPECT_TRUE(manager_.GetClientId(kServiceId1, &client_id));
57 EXPECT_EQ(kClientId1, client_id);
58 EXPECT_TRUE(manager_.GetClientId(kServiceId2, &client_id));
[all...]
H A Did_manager.cc15 bool IdManager::AddMapping(GLuint client_id, GLuint service_id) { argument
17 std::make_pair(client_id, service_id));
21 bool IdManager::RemoveMapping(GLuint client_id, GLuint service_id) { argument
22 MapType::iterator iter = id_map_.find(client_id);
30 bool IdManager::GetServiceId(GLuint client_id, GLuint* service_id) { argument
32 MapType::iterator iter = id_map_.find(client_id);
40 bool IdManager::GetClientId(GLuint service_id, GLuint* client_id) { argument
41 DCHECK(client_id);
47 *client_id = iter->first;
H A Did_manager.h25 // Maps a client_id to a service_id. Return false if the client_id or
27 bool AddMapping(GLuint client_id, GLuint service_id);
30 bool RemoveMapping(GLuint client_id, GLuint service_id);
32 // Gets the corresponding service_id for the given client_id.
34 bool GetServiceId(GLuint client_id, GLuint* service_id);
36 // Gets the corresponding client_id for the given service_id.
37 // Returns false if there is no corresponding client_id.
38 bool GetClientId(GLuint service_id, GLuint* client_id);
H A Dvertex_array_manager.cc32 VertexArrayManager::CreateVertexAttribManager(GLuint client_id, argument
42 std::make_pair(client_id, vertex_attrib_manager));
50 GLuint client_id) {
51 VertexAttribManagerMap::iterator it = vertex_attrib_managers_.find(client_id);
55 void VertexArrayManager::RemoveVertexAttribManager(GLuint client_id) { argument
56 VertexAttribManagerMap::iterator it = vertex_attrib_managers_.find(client_id);
75 GLuint service_id, GLuint* client_id) const {
81 *client_id = it->first;
49 GetVertexAttribManager( GLuint client_id) argument
H A Dvertex_array_manager.h32 // maps it to the client_id.
34 GLuint client_id,
40 VertexAttribManager* GetVertexAttribManager(GLuint client_id);
43 void RemoveVertexAttribManager(GLuint client_id);
46 bool GetClientId(GLuint service_id, GLuint* client_id) const;
H A Dgles2_cmd_decoder_unittest_base.h44 void GenHelper(GLuint client_id) { argument
45 int8 buffer[sizeof(T) + sizeof(client_id)];
47 cmd.Init(1, &client_id);
49 ExecuteImmediateCmd(cmd, sizeof(client_id)));
117 TextureRef* GetTexture(GLuint client_id) { argument
118 return group_->texture_manager()->GetTexture(client_id);
121 Shader* GetShader(GLuint client_id) { argument
122 return group_->shader_manager()->GetShader(client_id);
125 Program* GetProgram(GLuint client_id) { argument
126 return group_->program_manager()->GetProgram(client_id);
129 GetQueryInfo(GLuint client_id) argument
135 GetVertexArrayInfo(GLuint client_id) argument
382 IsObjectHelper(GLuint client_id) argument
[all...]
H A Drenderbuffer_manager.cc57 GLuint client_id,
60 client_id_(client_id),
128 GLuint client_id, GLuint service_id) {
130 new Renderbuffer(this, client_id, service_id));
132 renderbuffers_.insert(std::make_pair(client_id, renderbuffer));
140 GLuint client_id) {
141 RenderbufferMap::iterator it = renderbuffers_.find(client_id);
145 void RenderbufferManager::RemoveRenderbuffer(GLuint client_id) { argument
146 RenderbufferMap::iterator it = renderbuffers_.find(client_id);
56 Renderbuffer(RenderbufferManager* manager, GLuint client_id, GLuint service_id) argument
127 CreateRenderbuffer( GLuint client_id, GLuint service_id) argument
139 GetRenderbuffer( GLuint client_id) argument
/external/chromium_org/chrome/browser/devtools/
H A Ddevtools_network_controller.cc39 const std::string& client_id = transaction->client_id(); local
40 if (client_id.empty())
43 DevToolsNetworkInterceptor* interceptor = interceptors_.get(client_id);
52 const std::string& client_id,
61 client_id,
66 const std::string& client_id,
70 DevToolsNetworkInterceptor* interceptor = interceptors_.get(client_id);
77 interceptors_.set(client_id, new_interceptor.Pass());
83 interceptors_.erase(client_id);
51 SetNetworkState( const std::string& client_id, scoped_ptr<DevToolsNetworkConditions> conditions) argument
65 SetNetworkStateOnIO( const std::string& client_id, scoped_ptr<DevToolsNetworkConditions> conditions) argument
[all...]
H A Ddevtools_network_controller.h33 const std::string& client_id,
47 const std::string& client_id,
/external/chromium_org/components/metrics/
H A Dmetrics_state_manager_unittest.cc65 stored_client_info_backup_->client_id = client_info.client_id;
71 // Respect the contract that storing an empty client_id voids the existing
74 if (client_info.client_id.empty())
84 backup_copy->client_id = fake_client_info_backup_->client_id;
102 const std::string client_id = state_manager->client_id(); local
103 EXPECT_EQ(36U, client_id.length());
105 for (size_t i = 0; i < client_id
[all...]
H A Dclient_info.h23 std::string client_id; member in struct:metrics::ClientInfo
H A Dtest_metrics_service_client.cc23 const std::string& client_id) {
24 client_id_ = client_id;
22 SetMetricsClientId( const std::string& client_id) argument
/external/chromium_org/remoting/host/
H A Dpairing_registry_delegate_linux_unittest.cc53 EXPECT_EQ(delegate->Load(pairing1.client_id()), pairing1);
54 EXPECT_EQ(delegate->Load(pairing2.client_id()), pairing2);
57 EXPECT_TRUE(delegate->Delete(pairing1.client_id()));
60 EXPECT_EQ(delegate->Load(pairing1.client_id()), PairingRegistry::Pairing());
61 EXPECT_EQ(delegate->Load(pairing2.client_id()), pairing2);
86 EXPECT_EQ(load_delegate->Load(pairing.client_id()), pairing);
H A Dpairing_registry_delegate_win_unittest.cc67 EXPECT_EQ(delegate->Load(pairing1.client_id()), pairing1);
68 EXPECT_EQ(delegate->Load(pairing2.client_id()), pairing2);
71 EXPECT_TRUE(delegate->Delete(pairing1.client_id()));
74 EXPECT_EQ(delegate->Load(pairing1.client_id()), PairingRegistry::Pairing());
75 EXPECT_EQ(delegate->Load(pairing2.client_id()), pairing2);
100 EXPECT_EQ(load_delegate->Load(pairing.client_id()), pairing);
110 EXPECT_EQ(delegate->Load(pairing.client_id()), pairing);
118 delegate->Load(pairing.client_id());
119 EXPECT_EQ(pairing.client_id(), unprivileged_pairing.client_id());
[all...]
/external/chromium_org/components/invalidation/
H A Dfake_invalidation_state_tracker.cc22 const std::string& client_id) {
24 invalidator_client_id_ = client_id;
21 ClearAndSetNewClientId( const std::string& client_id) argument
/external/chromium_org/gpu/command_buffer/client/
H A Dgles2_cmd_helper.h29 uint32_t client_id,
37 c->Init(target, client_id, _mailbox);
28 CreateAndConsumeTextureCHROMIUMImmediate(GLenum target, uint32_t client_id, const GLbyte* _mailbox) argument
/external/chromium_org/sync/engine/net/
H A Durl_translator.cc21 const char kParameterClientID[] = "client_id";
47 string MakeSyncQueryString(const string& client_id) { argument
53 query += "=" + CgiEscapeString(client_id);
H A Durl_translator.h23 std::string MakeSyncQueryString(const std::string& client_id);
/external/chromium_org/chromecast/metrics/
H A Dplatform_metrics_providers.h31 void PlatformSetClientID(const std::string& client_id);
H A Dplatform_metrics_providers_simple.cc26 void PlatformSetClientID(const std::string& client_id) { argument
/external/chromium_org/remoting/protocol/
H A Dprotocol_mock_objects.cc75 const std::string& client_id) {
76 Pairings::const_iterator i = pairings_.find(client_id);
86 pairings_[pairing.client_id()] = pairing;
90 bool MockPairingRegistryDelegate::Delete(const std::string& client_id) { argument
91 pairings_.erase(client_id);
74 Load( const std::string& client_id) argument
H A Dpairing_registry.cc34 const std::string& client_id,
38 client_id_(client_id),
48 std::string client_id = base::GenerateGUID(); local
54 return Pairing(created_time, client_name, client_id, shared_secret);
59 std::string client_name, client_id; local
63 pairing.GetString(kClientIdKey, &client_id)) {
68 return Pairing(created_time, client_name, client_id, shared_secret);
79 pairing->SetString(kClientIdKey, client_id());
116 void PairingRegistry::GetPairing(const std::string& client_id, argument
124 &PairingRegistry::DoLoad, this, client_id, wrapped_callbac
32 Pairing(const base::Time& created_time, const std::string& client_name, const std::string& client_id, const std::string& shared_secret) argument
143 DeletePairing( const std::string& client_id, const DoneCallback& callback) argument
203 DoLoad( const std::string& client_id, const protocol::PairingRegistry::GetPairingCallback& callback) argument
221 DoDelete( const std::string& client_id, const protocol::PairingRegistry::DoneCallback& callback) argument
[all...]
/external/chromium_org/storage/browser/quota/
H A Dquota_manager_proxy.cc51 QuotaClient::ID client_id,
57 base::Bind(&QuotaManagerProxy::NotifyStorageAccessed, this, client_id,
63 manager_->NotifyStorageAccessed(client_id, origin, type);
67 QuotaClient::ID client_id,
74 base::Bind(&QuotaManagerProxy::NotifyStorageModified, this, client_id,
80 manager_->NotifyStorageModified(client_id, origin, type, delta);
109 void QuotaManagerProxy::SetUsageCacheEnabled(QuotaClient::ID client_id, argument
117 client_id, origin, type, enabled));
121 manager_->SetUsageCacheEnabled(client_id, origin, type, enabled);
50 NotifyStorageAccessed( QuotaClient::ID client_id, const GURL& origin, StorageType type) argument
66 NotifyStorageModified( QuotaClient::ID client_id, const GURL& origin, StorageType type, int64 delta) argument
/external/chromium_org/chrome/browser/google/
H A Dgoogle_update_settings_posix.cc74 const std::string& client_id = g_posix_client_id.Get(); local
75 if (base::PathExists(consent_file) && client_id.empty())
78 int size = client_id.size();
80 base::WriteFile(consent_file, client_id.c_str(), size) == size;
94 client_info->client_id = g_posix_client_id.Get();
110 g_posix_client_id.Get() = client_info.client_id;
/external/chromium_org/content/browser/quota/
H A Dmock_quota_manager_proxy.cc40 QuotaClient::ID client_id, const GURL& origin, StorageType type) {
47 QuotaClient::ID client_id, const GURL& origin,
39 NotifyStorageAccessed( QuotaClient::ID client_id, const GURL& origin, StorageType type) argument
46 NotifyStorageModified( QuotaClient::ID client_id, const GURL& origin, StorageType type, int64 delta) argument

Completed in 391 milliseconds

1234567891011