/external/chromium_org/base/ |
H A D | supports_user_data.cc | 14 SupportsUserData::Data* SupportsUserData::GetUserData(const void* key) const { 16 DataMap::const_iterator found = user_data_.find(key); 22 void SupportsUserData::SetUserData(const void* key, Data* data) { argument 24 user_data_[key] = linked_ptr<Data>(data); 27 void SupportsUserData::RemoveUserData(const void* key) { argument 29 user_data_.erase(key);
|
/external/chromium_org/base/threading/ |
H A D | thread_local_storage_win.cc | 15 bool PlatformThreadLocalStorage::AllocTLS(TLSKey* key) { argument 18 *key = value; 24 void PlatformThreadLocalStorage::FreeTLS(TLSKey key) { argument 25 BOOL ret = TlsFree(key); 29 void* PlatformThreadLocalStorage::GetTLSValue(TLSKey key) { argument 30 return TlsGetValue(key); 33 void PlatformThreadLocalStorage::SetTLSValue(TLSKey key, void* value) { argument 34 BOOL ret = TlsSetValue(key, value);
|
/external/chromium_org/cc/surfaces/ |
H A D | surface_id.h | 38 inline size_t hash_value(const cc::SurfaceId& key) { argument 39 return hash_value(key.id); 44 size_t operator()(cc::SurfaceId key) const { 45 return hash<uint64_t>()(key.id);
|
/external/chromium_org/chrome/browser/browsing_data/ |
H A D | mock_browsing_data_cookie_helper.cc | 30 std::string key = cookie.Name() + "=" + cookie.Value(); local 31 ASSERT_TRUE(cookies_.find(key) != cookies_.end()); 32 cookies_[key] = false;
|
H A D | mock_browsing_data_database_helper.cc | 29 std::string key = origin + ":" + name; local 30 ASSERT_TRUE(databases_.find(key) != databases_.end()); 33 databases_[key] = false;
|
/external/chromium_org/chrome/browser/chromeos/accessibility/ |
H A D | sticky_keys_browsertest.cc | 40 void SendKeyPress(ui::KeyboardCode key) { argument 45 key, 61 SendKeyPress(ui::VKEY_MENU); // alt key. 76 SendKeyPress(ui::VKEY_MENU); // alt key. 83 // Lock the modifier key. 96 // Unlock the modifier key and shortcut should no longer activate. 124 // Test locked modifier key with mouse click.
|
/external/chromium_org/chrome/browser/chromeos/login/screens/ |
H A D | screen_context.h | 22 // ScreenContext is a key-value storage for values that are shared 32 // ScreenContext memorizes changed key-value pairs and returns them 43 bool SetBoolean(const KeyType& key, bool value); 44 bool SetInteger(const KeyType& key, int value); 45 bool SetDouble(const KeyType& key, double value); 46 bool SetString(const KeyType& key, const std::string& value); 47 bool SetString(const KeyType& key, const base::string16& value); 48 bool SetStringList(const KeyType& key, const StringList& value); 49 bool SetString16List(const KeyType& key, const String16List& value); 51 bool GetBoolean(const KeyType& key) cons 108 Get(const KeyType& key, const T& default_value) const argument [all...] |
/external/chromium_org/chrome/browser/chromeos/net/ |
H A D | network_portal_detector_test_utils.cc | 24 EnumHistogramChecker* EnumHistogramChecker::Expect(int key, int value) { argument 25 expect_[key] = value;
|
/external/chromium_org/chrome/browser/extensions/api/identity/ |
H A D | identity_mint_queue.cc | 33 const ExtensionTokenKey& key, 37 RequestQueue& request_queue = GetRequestQueueMap(type)[key]; 47 const ExtensionTokenKey& key, 54 RequestQueue& request_queue = GetRequestQueueMap(type)[key]; 62 const ExtensionTokenKey& key, 69 GetRequestQueueMap(MINT_TYPE_INTERACTIVE)[key].remove(request); 70 GetRequestQueueMap(MINT_TYPE_NONINTERACTIVE)[key].remove(request); 74 const ExtensionTokenKey& key) { 76 return !ContainsKey(request_queue_map, key) || 77 (request_queue_map.find(key)) 31 RequestStart( IdentityMintRequestQueue::MintType type, const ExtensionTokenKey& key, IdentityMintRequestQueue::Request* request) argument 45 RequestComplete( IdentityMintRequestQueue::MintType type, const ExtensionTokenKey& key, IdentityMintRequestQueue::Request* request) argument 61 RequestCancel( const ExtensionTokenKey& key, IdentityMintRequestQueue::Request* request) argument 73 empty(IdentityMintRequestQueue::MintType type, const ExtensionTokenKey& key) argument [all...] |
/external/chromium_org/chrome/browser/extensions/ |
H A D | settings_api_helpers.cc | 39 std::string key; local 42 key = prefs::kHomePage; 45 key = prefs::kRestoreOnStartup; 48 key = prefs::kDefaultSearchProviderEnabled; 55 !preference_api->DoesExtensionControlPref((*it)->id(), key, NULL))
|
/external/chromium_org/chrome/browser/local_discovery/ |
H A D | device_description.cc | 55 continue; // We do not parse non key-value TXT records 57 std::string key = i->substr(0, equals_pos); local 60 if (LowerCaseEqualsASCII(key, kPrivetTxtKeyVersion)) { 63 } else if (LowerCaseEqualsASCII(key, kPrivetTxtKeyName)) { 65 } else if (LowerCaseEqualsASCII(key, kPrivetTxtKeyDescription)) { 67 } else if (LowerCaseEqualsASCII(key, kPrivetTxtKeyURL)) { 69 } else if (LowerCaseEqualsASCII(key, kPrivetTxtKeyType)) { 71 } else if (LowerCaseEqualsASCII(key, kPrivetTxtKeyID)) { 73 } else if (LowerCaseEqualsASCII(key, kPrivetTxtKeyConnectionState)) {
|
/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
H A D | picasa_finder.cc | 36 base::win::RegKey key; local 37 if (key.Open(HKEY_CURRENT_USER, kPicasaRegistryPath, KEY_READ) != 38 ERROR_SUCCESS || !key.Valid()) { 43 if (key.ReadValue(kPicasaRegistryAppDataPathKey, &value) != ERROR_SUCCESS)
|
/external/chromium_org/chrome/browser/prefs/ |
H A D | browser_ui_prefs_migrator_unittest.cc | 28 virtual bool GetValue(const std::string& key, 30 return prefs_.Get(key, result); 34 virtual void SetValue(const std::string& key, base::Value* value) OVERRIDE { 36 prefs_.Set(key, value); 37 ReportValueChanged(key); variable 40 virtual void RemoveValue(const std::string& key) OVERRIDE { 41 if (prefs_.RemovePath(key, NULL)) 42 ReportValueChanged(key); variable 45 virtual bool GetMutableValue(const std::string& key, 47 return prefs_.Get(key, resul [all...] |
/external/chromium_org/chrome/browser/supervised_user/chromeos/ |
H A D | supervised_user_password_service.cc | 42 const std::string& key) { 43 if (key != supervised_users::kChromeOSPasswordData) 55 const base::Value* value = settings_service_->GetValue(su_id, key); 40 OnSharedSettingsChange( const std::string& su_id, const std::string& key) argument
|
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
H A D | drive_backend_util.h | 65 const typename Container::key_type& key, 67 typename Container::const_iterator found = container.find(key); 63 LookUpMap( const Container& container, const typename Container::key_type& key, const typename Container::mapped_type& default_value) argument
|
/external/chromium_org/chrome/browser/ui/ash/ |
H A D | ime_controller_chromeos.cc | 30 ui::KeyboardCode key = accelerator.key_code(); local 32 // On French keyboards the user needs to press a number key in conjunction 33 // with the shift key. To get the right accelerator from our static table 35 if (key >= ui::VKEY_0 && key <= ui::VKEY_9) { 40 // We toggle the shift key to get the correct accelerator from our table. 44 ui::Accelerator remapped_accelerator(key, modifiers);
|
/external/chromium_org/chrome/browser/ui/autofill/ |
H A D | autofill_dialog_models.h | 39 // Adds an item and its identifying key to the model. Keys needn't be unique. 40 void AddKeyedItem(const std::string& key, 45 void AddKeyedItemWithIcon(const std::string& key, 49 // Adds a label with a minor text and its identifying key to the model. 51 void AddKeyedItemWithMinorText(const std::string& key, 58 const std::string& key, 66 // Returns the ID key for the item at |index|. 69 // Returns the ID key for the item at |checked_item_|, or an empty string if 79 // Enable/disable an item by key. 93 std::string key; // Th member in struct:autofill::SuggestionsMenuModel::Item [all...] |
/external/chromium_org/chrome/browser/ui/views/apps/app_info_dialog/ |
H A D | app_info_panel.cc | 14 // The spacing between the key and the value labels in the Details section. 55 views::View* AppInfoPanel::CreateKeyValueField(views::View* key, argument 59 horizontal_stack->AddChildView(key);
|
/external/chromium_org/chrome/browser/ui/webui/translate_internals/ |
H A D | translate_internals_ui.cc | 27 // Sets the languages to |dict|. Each key is a language code and each value is 58 std::string key = "language-" + it.key(); local 61 source->AddString(key, value);
|
/external/chromium_org/chrome/common/ |
H A D | child_process_logging_win.cc | 29 void SetCrashKeyValueTrampoline(const base::StringPiece& key, argument 41 (set_crash_key)(base::UTF8ToWide(key).data(), 46 void ClearCrashKeyValueTrampoline(const base::StringPiece& key) { argument 57 (clear_crash_key)(base::UTF8ToWide(key).data()); 65 // loaded, which is a prerequisite of the crash key system.
|
H A D | crash_keys_unittest.cc | 32 bool HasCrashKey(const std::string& key) { argument 33 return keys_.find(key) != keys_.end(); 36 std::string GetKeyValue(const std::string& key) { argument 37 std::map<std::string, std::string>::const_iterator it = keys_.find(key); 44 static void SetCrashKeyValue(const base::StringPiece& key, argument 46 self_->keys_[key.as_string()] = value.as_string(); 49 static void ClearCrashKey(const base::StringPiece& key) { argument 50 self_->keys_.erase(key.as_string()); 159 std::string key = base::StringPrintf(crash_keys::kExtensionID, i); local 160 EXPECT_FALSE(HasCrashKey(key)) << ke [all...] |
H A D | ini_parser.cc | 37 std::string key, value; local 40 key = line.substr(0, equal); 42 HandleTriplet(current_section, key, value); 53 const std::string& key, 56 // Checks whether the section and key contain a '.' character. 60 key.find('.') == std::string::npos) 61 root_.SetString(section + "." + key, value); 52 HandleTriplet(const std::string& section, const std::string& key, const std::string& value) argument
|
H A D | ini_parser_unittest.cc | 15 const std::string& key, 18 key(key), 23 std::string key; member in struct:__anon5678::TestTriplet 41 virtual void HandleTriplet(const std::string& section, const std::string& key, 44 EXPECT_EQ(expected_triplets_[pair_i_].key, key); 110 "key.2=value2\n" 113 "key.4=value4\n" 120 EXPECT_FALSE(root.GetString("section1.key 14 TestTriplet(const std::string& section, const std::string& key, const std::string& value) argument [all...] |
/external/chromium_org/chrome/common/extensions/ |
H A D | manifest_unittest.cc | 45 // with its |key| changed to |value|. If |value| is NULL, then |key| will 48 const std::string& key, 53 manifest_value->Set(key, value); 55 manifest_value->Remove(key, NULL); 80 // The known key 'background_page' should be accessible. 85 // The unknown key 'unknown_key' should be accesible. 120 // Verifies that key restriction based on type works. 208 // Platform apps cannot have a "page_action" key. 217 // Platform apps also can't have a "Commands" key 47 MutateManifest(scoped_ptr<Manifest>* manifest, const std::string& key, base::Value* value) argument [all...] |
/external/chromium_org/chrome/common/importer/ |
H A D | ie_importer_test_registry_overrider_win.cc | 19 // The key to which a random subkey will be appended. This key itself will never 26 // SetTestRegistryOverride() into |key| if it exists and |key| is not NULL. 28 bool GetTestKeyFromEnvironment(base::string16* key) { argument 33 *key = base::UTF8ToUTF16(value); 66 base::string16 key; local 67 if (!GetTestKeyFromEnvironment(&key)) 69 return key;
|