/external/chromium_org/chrome/installer/util/ |
H A D | create_reg_key_work_item.cc | 56 std::wstring key_path; local 61 key_path.assign(key_list_[i - 1]); 64 key_path.c_str(), 71 LOG(ERROR) << key_path << " exists, this is not expected."; 77 VLOG(1) << "created " << key_path; 84 LOG(ERROR) << "Failed to create " << key_path; 96 std::wstring key_path; 100 key_path.assign(*itr); 102 if (key.DeleteEmptyKey(key_path.c_str()) == ERROR_SUCCESS) { 103 VLOG(1) << "rollback: delete " << key_path; [all...] |
H A D | non_updating_app_registration_data.cc | 8 const base::string16& key_path) : key_path_(key_path) {} 7 NonUpdatingAppRegistrationData( const base::string16& key_path) argument
|
H A D | registry_key_backup.h | 26 // Recursively reads |key_path| into this instance. Backing up a non-existent 29 bool Initialize(HKEY root, const wchar_t* key_path, REGSAM wow64_acccess); 32 // |key_path| are not modified If this instance is uninitialized or was 34 bool WriteTo(HKEY root, const wchar_t* key_path, REGSAM wow64_acccess) const;
|
H A D | work_item.cc | 64 const std::wstring& key_path, 68 predefined_root, key_path, wow64_access, value_name); 91 const std::wstring& key_path, 97 key_path, 106 const std::wstring& key_path, 112 key_path, 121 const std::wstring& key_path, 127 key_path, 62 CreateDeleteRegValueWorkItem( HKEY predefined_root, const std::wstring& key_path, REGSAM wow64_access, const std::wstring& value_name) argument 89 CreateSetRegValueWorkItem( HKEY predefined_root, const std::wstring& key_path, REGSAM wow64_access, const std::wstring& value_name, const std::wstring& value_data, bool overwrite) argument 104 CreateSetRegValueWorkItem( HKEY predefined_root, const std::wstring& key_path, REGSAM wow64_access, const std::wstring& value_name, DWORD value_data, bool overwrite) argument 119 CreateSetRegValueWorkItem( HKEY predefined_root, const std::wstring& key_path, REGSAM wow64_access, const std::wstring& value_name, int64 value_data, bool overwrite) argument
|
H A D | conditional_work_item_list.h | 39 explicit ConditionRunIfFileExists(const base::FilePath& key_path) argument 40 : key_path_(key_path) {}
|
H A D | non_updating_app_registration_data.h | 16 explicit NonUpdatingAppRegistrationData(const base::string16& key_path);
|
H A D | delete_reg_key_work_item_unittest.cc | 39 const std::wstring& key_path = key_paths[i]; local 41 test_data_.root_key(), key_path, WorkItem::kWow64Default)); 43 EXPECT_NE(ERROR_SUCCESS, key.Open(test_data_.root_key(), key_path.c_str(), 47 EXPECT_NE(ERROR_SUCCESS, key.Open(test_data_.root_key(), key_path.c_str(), 55 const std::wstring& key_path = test_data_.empty_key_path(); local 57 test_data_.root_key(), key_path, WorkItem::kWow64Default)); 59 EXPECT_NE(ERROR_SUCCESS, key.Open(test_data_.root_key(), key_path.c_str(), 63 EXPECT_EQ(ERROR_SUCCESS, key.Open(test_data_.root_key(), key_path.c_str(), 71 const std::wstring& key_path = test_data_.non_empty_key_path(); local 73 test_data_.root_key(), key_path, WorkIte [all...] |
H A D | set_reg_value_work_item.h | 46 const std::wstring& key_path, 53 const std::wstring& key_path, 60 const std::wstring& key_path,
|
H A D | set_reg_value_work_item.cc | 16 const std::wstring& key_path, 22 key_path_(key_path), 37 const std::wstring& key_path, 43 key_path_(key_path), 58 const std::wstring& key_path, 64 key_path_(key_path), 15 SetRegValueWorkItem(HKEY predefined_root, const std::wstring& key_path, REGSAM wow64_access, const std::wstring& value_name, const std::wstring& value_data, bool overwrite) argument 36 SetRegValueWorkItem(HKEY predefined_root, const std::wstring& key_path, REGSAM wow64_access, const std::wstring& value_name, DWORD value_data, bool overwrite) argument 57 SetRegValueWorkItem(HKEY predefined_root, const std::wstring& key_path, REGSAM wow64_access, const std::wstring& value_name, int64 value_data, bool overwrite) argument
|
H A D | delete_reg_value_work_item.h | 42 const std::wstring& key_path,
|
H A D | work_item.h | 111 const std::wstring& key_path, 117 // by key_path. 135 const std::wstring& key_path, 145 const std::wstring& key_path, 155 const std::wstring& key_path,
|
H A D | work_item_list.h | 74 const std::wstring& key_path, 80 // by key_path. 99 const std::wstring& key_path, 108 const std::wstring& key_path, 117 const std::wstring& key_path,
|
H A D | delete_tree_work_item_unittest.cc | 148 // Delete a tree with key_path in use. Everything should still be there. 177 base::FilePath key_path(dir_name_delete); 178 key_path = key_path.AppendASCII("key_file.exe"); 184 base::CopyFile(exe_full_path, key_path); 185 ASSERT_TRUE(base::PathExists(key_path)); 188 << " to " << key_path.value(); 193 base::FilePath::StringType writable_key_path = key_path.value(); 204 std::vector<base::FilePath> key_paths(1, key_path); 214 EXPECT_TRUE(base::PathExists(key_path)); [all...] |
H A D | install_util_unittest.cc | 290 std::wstring key_path(L"SomeKey\\ToDelete"); 302 ASSERT_FALSE(RegKey(root, key_path.c_str(), KEY_QUERY_VALUE).Valid()); 304 InstallUtil::DeleteRegistryValueIf(root, key_path.c_str(), 307 EXPECT_FALSE(RegKey(root, key_path.c_str(), KEY_QUERY_VALUE).Valid()); 315 ASSERT_TRUE(RegKey(root, key_path.c_str(), KEY_SET_VALUE).Valid()); 317 InstallUtil::DeleteRegistryValueIf(root, key_path.c_str(), 320 EXPECT_TRUE(RegKey(root, key_path.c_str(), KEY_QUERY_VALUE).Valid()); 329 RegKey(root, key_path.c_str(), 332 InstallUtil::DeleteRegistryValueIf(root, key_path.c_str(), 335 EXPECT_TRUE(RegKey(root, key_path [all...] |
H A D | work_item_list.cc | 125 const std::wstring& key_path, 129 predefined_root, key_path, wow64_access, value_name); 163 const std::wstring& key_path, 169 key_path, 179 const std::wstring& key_path, 185 key_path, 195 const std::wstring& key_path, 202 key_path, 123 AddDeleteRegValueWorkItem( HKEY predefined_root, const std::wstring& key_path, REGSAM wow64_access, const std::wstring& value_name) argument 162 AddSetRegValueWorkItem(HKEY predefined_root, const std::wstring& key_path, REGSAM wow64_access, const std::wstring& value_name, const std::wstring& value_data, bool overwrite) argument 178 AddSetRegValueWorkItem(HKEY predefined_root, const std::wstring& key_path, REGSAM wow64_access, const std::wstring& value_name, DWORD value_data, bool overwrite) argument 194 AddSetRegValueWorkItem(HKEY predefined_root, const std::wstring& key_path, REGSAM wow64_access, const std::wstring& value_name, int64 value_data, bool overwrite) argument
|
H A D | registry_key_backup.cc | 275 const wchar_t* key_path, 277 DCHECK(key_path); 286 LONG result = key.Open(root, key_path, kKeyReadNoNotify | wow64_access); 290 LOG(ERROR) << "Failed to backup key at " << key_path; 294 LOG(ERROR) << "Failed to open key at " << key_path 304 const wchar_t* key_path, 306 DCHECK(key_path); 315 LONG result = dest_key.Create(root, key_path, KEY_WRITE | wow64_access); 317 LOG(ERROR) << "Failed to create destination key at " << key_path 274 Initialize(HKEY root, const wchar_t* key_path, REGSAM wow64_access) argument 303 WriteTo(HKEY root, const wchar_t* key_path, REGSAM wow64_access) const argument
|
/external/chromium_org/content/browser/indexed_db/ |
H A D | indexed_db_metadata.h | 22 const IndexedDBKeyPath& key_path, 27 key_path(key_path), 32 IndexedDBKeyPath key_path; member in struct:content::IndexedDBIndexMetadata 45 const IndexedDBKeyPath& key_path, 51 IndexedDBKeyPath key_path; member in struct:content::IndexedDBObjectStoreMetadata 20 IndexedDBIndexMetadata(const base::string16& name, int64 id, const IndexedDBKeyPath& key_path, bool unique, bool multi_entry) argument
|
H A D | indexed_db_metadata.cc | 12 const IndexedDBKeyPath& key_path, 17 key_path(key_path), 9 IndexedDBObjectStoreMetadata( const base::string16& name, int64 id, const IndexedDBKeyPath& key_path, bool auto_increment, int64 max_index_id) argument
|
/external/chromium_org/chrome/browser/extensions/ |
H A D | external_registry_loader_win.cc | 85 base::string16 key_path = base::ASCIIToWide(kRegistryExtensions); local 86 key_path.append(L"\\"); 87 key_path.append(*it); 89 key_path.c_str(), KEY_READ) != ERROR_SUCCESS) { 91 key_path.c_str(), KEY_READ) != ERROR_SUCCESS) { 93 << key_path << "."; 102 << " for key " << key_path << "."; local 129 << " for key " << key_path << "."; local 137 << key_path; local 143 << " for key " << key_path local 150 << " for key " << key_path << " can not be read. " local 161 << " for key " << key_path << "."; local 168 << " for key " << key_path << "."; local [all...] |
/external/chromium_org/base/test/ |
H A D | test_reg_util_win.cc | 55 base::string16 key_path = test_key_root; local 56 key_path += L"\\" + base::Int64ToString16(timestamp.ToInternalValue()); 57 key_path += kTimestampDelimiter + base::ASCIIToWide(base::GenerateGUID()); 59 return key_path; 66 const base::string16& key_path) 70 temp_key_.Create(HKEY_CURRENT_USER, key_path.c_str(), KEY_ALL_ACCESS)); 96 base::string16 key_path = GenerateTempKeyPath(test_key_root_, timestamp_); local 97 overrides_.push_back(new ScopedRegistryKeyOverride(override, key_path)); 64 ScopedRegistryKeyOverride( HKEY override, const base::string16& key_path) argument
|
H A D | test_reg_util_win_unittest.cc | 40 void AssertKeyExists(const base::string16& key_path) { argument 43 key.Open(HKEY_CURRENT_USER, key_path.c_str(), KEY_READ)) 44 << key_path << " does not exist."; 47 void AssertKeyAbsent(const base::string16& key_path) { argument 50 key.Open(HKEY_CURRENT_USER, key_path.c_str(), KEY_READ)) 51 << key_path << " exists but it should not."; 54 void CreateKey(const base::string16& key_path) { argument 57 key.Create(HKEY_CURRENT_USER, key_path.c_str(), KEY_ALL_ACCESS));
|
/external/chromium_org/components/policy/core/common/cloud/ |
H A D | resource_cache.cc | 112 base::FilePath key_path; local 113 if (!VerifyKeyPath(key, false, &key_path)) 116 base::FileEnumerator enumerator(key_path, false, base::FileEnumerator::FILES); 145 base::FilePath key_path; local 146 if (VerifyKeyPath(key, false, &key_path)) 147 base::DeleteFile(key_path, true); 154 base::FilePath key_path; local 155 if (!VerifyKeyPath(key, false, &key_path)) 158 base::FileEnumerator enumerator(key_path, false, base::FileEnumerator::FILES); 173 base::DeleteFile(key_path, fals 196 base::FilePath key_path; local 232 base::FilePath key_path; local [all...] |
/external/chromium_org/content/child/indexed_db/ |
H A D | indexed_db_key_builders.cc | 110 const blink::WebIDBKeyPath& key_path) { 111 switch (key_path.keyPathType()) { 113 return IndexedDBKeyPath(key_path.string()); 115 return IndexedDBKeyPath(CopyArray(key_path.array())); 125 const IndexedDBKeyPath& key_path) { 126 switch (key_path.type()) { 128 return blink::WebIDBKeyPath::create(WebString(key_path.string())); 130 return blink::WebIDBKeyPath::create(CopyArray(key_path.array())); 109 Build( const blink::WebIDBKeyPath& key_path) argument 124 Build( const IndexedDBKeyPath& key_path) argument
|
H A D | indexed_db_key_builders.h | 48 static IndexedDBKeyPath Build(const blink::WebIDBKeyPath& key_path); 56 static blink::WebIDBKeyPath Build(const IndexedDBKeyPath& key_path);
|
/external/chromium_org/net/test/ |
H A D | cert_test_util_nss.cc | 23 base::FilePath key_path = dir.AppendASCII(key_filename); local 25 bool success = base::ReadFileToString(key_path, &key_pkcs8); 27 LOG(ERROR) << "Failed to read file " << key_path.value(); 40 << key_path.value();
|