Searched refs:token_id (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/chrome/browser/ui/webui/
H A Didentity_internals_ui_browsertest.cc27 std::string token_id("token");
28 token_id += token_number;
34 AddTokenToCache(token_id, extension_id, scopes, kOneHour);
46 const std::string token_id,
51 extensions::IdentityTokenCacheValue(token_id,
45 AddTokenToCache( const std::string token_id, const std::string extension_id, const std::vector<std::string>& scopes, int time_to_live) argument
H A Didentity_internals_ui_browsertest.h24 void AddTokenToCache(const std::string token_id,
/external/chromium_org/chrome/browser/chromeos/platform_keys/
H A Dplatform_keys.h46 // Generates a RSA key pair with |modulus_length_bits|. |token_id| is currently
49 void GenerateRSAKey(const std::string& token_id,
59 // |token_id| is currently ignored, instead the user token associated with
64 void Sign(const std::string& token_id,
82 // the given token. |token_id| is currently ignored, instead the user token
85 void GetCertificates(const std::string& token_id,
96 // |token_id| is currently ignored, instead the user token associated with
99 void ImportCertificate(const std::string& token_id,
110 // |certificate| will be ignored. |token_id| is currently ignored, instead the
113 void RemoveCertificate(const std::string& token_id,
[all...]
H A Dplatform_keys_service.cc50 void CheckValidityAndSign(const std::string& token_id, argument
62 platform_keys::subtle::Sign(token_id,
84 void PlatformKeysService::GenerateRSAKey(const std::string& token_id, argument
91 token_id,
100 void PlatformKeysService::Sign(const std::string& token_id, argument
110 token_id,
H A Dplatform_keys_service.h54 // to allow a single sign operation by the given extension. |token_id| is
59 void GenerateRSAKey(const std::string& token_id,
74 // is rejected. |token_id| is currently ignored, instead the user token
80 void Sign(const std::string& token_id,
H A Dplatform_keys_nss.cc75 // Called back with the NSSCertDatabase associated to the given |token_id|.
111 // Asynchronously fetches the NSSCertDatabase and PK11Slot for |token_id|.
114 void GetCertDatabase(const std::string& token_id, argument
118 // TODO(pneubeck): Decide which DB to retrieve depending on |token_id|.
497 void GenerateRSAKey(const std::string& token_id, argument
512 GetCertDatabase(token_id,
518 void Sign(const std::string& token_id, argument
533 GetCertDatabase(token_id,
541 void GetCertificates(const std::string& token_id, argument
548 GetCertDatabase(token_id,
554 ImportCertificate(const std::string& token_id, scoped_refptr<net::X509Certificate> certificate, const ImportCertificateCallback& callback, BrowserContext* browser_context) argument
573 RemoveCertificate(const std::string& token_id, scoped_refptr<net::X509Certificate> certificate, const RemoveCertificateCallback& callback, BrowserContext* browser_context) argument
[all...]
/external/chromium_org/chrome/browser/extensions/api/enterprise_platform_keys/
H A Denterprise_platform_keys_api.cc33 // Returns whether |token_id| references a known Token.
34 bool ValidateToken(const std::string& token_id) { argument
36 return token_id == kTokenIdUser;
51 if (!ValidateToken(params->token_id))
60 params->token_id,
90 if (!ValidateToken(params->token_id))
111 params->token_id,
139 if (!ValidateToken(params->token_id))
143 params->token_id,
184 if (!ValidateToken(params->token_id))
[all...]
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
H A Dsync_task_token.h35 int64 token_id,
55 int64 token_id() const { return token_id_; } function in class:sync_file_system::drive_backend::SyncTaskToken
67 int64 token_id,
H A Dsync_task_token.cc42 int64 token_id,
46 token_id,
133 int64 token_id,
137 token_id_(token_id),
40 CreateForBackgroundTask( const base::WeakPtr<SyncTaskManager>& manager, int64 token_id, scoped_ptr<BlockingFactor> blocking_factor) argument
132 SyncTaskToken(const base::WeakPtr<SyncTaskManager>& manager, int64 token_id, scoped_ptr<BlockingFactor> blocking_factor, const SyncStatusCallback& callback) argument
H A Dsync_task_manager.cc140 if (token->token_id() == SyncTaskToken::kTestingTaskTokenID) {
160 if (current_task_token->token_id() == SyncTaskToken::kTestingTaskTokenID) {
172 if (current_task_token->token_id() == SyncTaskToken::kForegroundTaskTokenID)
184 bool SyncTaskManager::IsRunningTask(int64 token_id) const {
191 if (token_id == SyncTaskToken::kForegroundTaskTokenID)
194 return ContainsKey(running_background_tasks_, token_id);
225 if (token->token_id() == SyncTaskToken::kForegroundTaskTokenID) {
229 task = running_background_tasks_.take_and_erase(token->token_id());
334 running_background_tasks_.set(background_task_token->token_id(),

Completed in 1155 milliseconds