Searched defs:token_id (Results 1 - 6 of 6) 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
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
H A Dsync_task_token.h37 int64 token_id,
57 int64 token_id() const { return token_id_; } function in class:sync_file_system::drive_backend::SyncTaskToken
70 int64 token_id,
H A Dsync_task_token.cc47 int64 token_id,
52 token_id,
144 int64 token_id,
149 token_id_(token_id),
44 CreateForBackgroundTask( const base::WeakPtr<SyncTaskManager>& manager, base::SequencedTaskRunner* task_runner, int64 token_id, scoped_ptr<TaskBlocker> task_blocker) argument
141 SyncTaskToken( const base::WeakPtr<SyncTaskManager>& manager, const scoped_refptr<base::SequencedTaskRunner>& task_runner, int64 token_id, scoped_ptr<TaskBlocker> task_blocker, const SyncStatusCallback& callback) argument
/external/chromium_org/chrome/browser/chromeos/platform_keys/
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_nss.cc77 // If |token_id| is not empty, sets |slot_| of |state| accordingly and calls
79 void DidGetCertDBOnIOThread(const std::string& token_id, argument
90 if (!token_id.empty()) {
91 if (token_id == kTokenIdUser)
93 else if (token_id == kTokenIdSystem)
97 LOG(ERROR) << "Slot for token id '" << token_id << "' not available.";
106 // Retrieves the NSSCertDatabase from |context| and, if |token_id| is not empty,
107 // the slot for |token_id|.
109 void GetCertDatabaseOnIOThread(const std::string& token_id, argument
115 context, base::Bind(&DidGetCertDBOnIOThread, token_id, callbac
124 GetCertDatabase(const std::string& token_id, const GetCertDBCallback& callback, BrowserContext* browser_context, NSSOperationState* state) argument
557 GenerateRSAKey(const std::string& token_id, unsigned int modulus_length_bits, const GenerateKeyCallback& callback, BrowserContext* browser_context) argument
578 Sign(const std::string& token_id, const std::string& public_key, HashAlgorithm hash_algorithm, const std::string& data, const SignCallback& callback, BrowserContext* browser_context) argument
601 GetCertificates(const std::string& token_id, const GetCertificatesCallback& callback, BrowserContext* browser_context) argument
614 ImportCertificate(const std::string& token_id, scoped_refptr<net::X509Certificate> certificate, const ImportCertificateCallback& callback, BrowserContext* browser_context) argument
633 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.cc35 // Returns whether |token_id| references a known Token.
36 bool ValidateToken(const std::string& token_id, argument
39 if (token_id == kTokenIdUser) {
43 if (token_id == kTokenIdSystem) {
73 if (!ValidateToken(params->token_id, &platform_keys_token_id))
113 if (!ValidateToken(params->token_id, &platform_keys_token_id))
163 if (!ValidateToken(params->token_id, &platform_keys_token_id))
209 if (!ValidateToken(params->token_id, &platform_keys_token_id))
247 if (!ValidateToken(params->token_id, &platform_keys_token_id))
304 std::string token_id local
[all...]

Completed in 183 milliseconds