/external/chromium_org/chrome/installer/util/ |
H A D | create_reg_key_work_item.cc | 51 std::wstring key_path; local 56 key_path.assign(key_list_[i - 1]); 58 if (key.CreateWithDisposition(predefined_root_, key_path.c_str(), 64 LOG(ERROR) << key_path << " exists, this is not expected."; 70 VLOG(1) << "created " << key_path; 77 LOG(ERROR) << "Failed to create " << key_path; 89 std::wstring key_path; 93 key_path.assign(*itr); 94 if (SHDeleteEmptyKey(predefined_root_, key_path.c_str()) == 96 VLOG(1) << "rollback: delete " << key_path; [all...] |
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); 32 // |key_path| are not modified If this instance is uninitialized or was 34 bool WriteTo(HKEY root, const wchar_t* key_path) const;
|
H A D | work_item.cc | 68 const std::wstring& key_path, 70 return new DeleteRegValueWorkItem(predefined_root, key_path, value_name); 93 const std::wstring& key_path, 97 return new SetRegValueWorkItem(predefined_root, key_path, 103 const std::wstring& key_path, 107 return new SetRegValueWorkItem(predefined_root, key_path, 113 const std::wstring& key_path, 117 return new SetRegValueWorkItem(predefined_root, key_path, 66 CreateDeleteRegValueWorkItem( HKEY predefined_root, const std::wstring& key_path, const std::wstring& value_name) argument 91 CreateSetRegValueWorkItem( HKEY predefined_root, const std::wstring& key_path, const std::wstring& value_name, const std::wstring& value_data, bool overwrite) argument 101 CreateSetRegValueWorkItem( HKEY predefined_root, const std::wstring& key_path, const std::wstring& value_name, DWORD value_data, bool overwrite) argument 111 CreateSetRegValueWorkItem( HKEY predefined_root, const std::wstring& key_path, 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 | delete_reg_key_work_item_unittest.cc | 39 const std::wstring& key_path = key_paths[i]; local 41 WorkItem::CreateDeleteRegKeyWorkItem(test_data_.root_key(), key_path)); 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 WorkItem::CreateDeleteRegKeyWorkItem(test_data_.root_key(), key_path)); 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 WorkItem::CreateDeleteRegKeyWorkItem(test_data_.root_key(), key_path)); [all...] |
H A D | set_reg_value_work_item.h | 46 const std::wstring& key_path, 51 SetRegValueWorkItem(HKEY predefined_root, const std::wstring& key_path, 55 SetRegValueWorkItem(HKEY predefined_root, const std::wstring& key_path,
|
H A D | set_reg_value_work_item.cc | 16 const std::wstring& key_path, 21 key_path_(key_path), 32 const std::wstring& key_path, 37 key_path_(key_path), 48 const std::wstring& key_path, 53 key_path_(key_path), 15 SetRegValueWorkItem(HKEY predefined_root, const std::wstring& key_path, const std::wstring& value_name, const std::wstring& value_data, bool overwrite) argument 31 SetRegValueWorkItem(HKEY predefined_root, const std::wstring& key_path, const std::wstring& value_name, DWORD value_data, bool overwrite) argument 47 SetRegValueWorkItem(HKEY predefined_root, const std::wstring& key_path, const std::wstring& value_name, int64 value_data, bool overwrite) argument
|
H A D | delete_reg_value_work_item.h | 41 DeleteRegValueWorkItem(HKEY predefined_root, const std::wstring& key_path,
|
H A D | delete_tree_work_item_unittest.cc | 147 // Delete a tree with key_path in use. Everything should still be there. 176 base::FilePath key_path(dir_name_delete); 177 key_path = key_path.AppendASCII("key_file.exe"); 183 base::CopyFile(exe_full_path, key_path); 184 ASSERT_TRUE(base::PathExists(key_path)); 187 << " to " << key_path.value(); 193 ::CreateProcessW(NULL, const_cast<wchar_t*>(key_path.value().c_str()), 202 std::vector<base::FilePath> key_paths(1, key_path); 212 EXPECT_TRUE(base::PathExists(key_path)); [all...] |
H A D | work_item.h | 106 const std::wstring& key_path, 111 // by key_path. 129 const std::wstring& key_path, 138 const std::wstring& key_path, 146 const std::wstring& key_path,
|
H A D | work_item_list.h | 78 const std::wstring& key_path, 83 // by key_path. 102 const std::wstring& key_path, 110 const std::wstring& key_path, 118 const std::wstring& key_path,
|
H A D | install_util_unittest.cc | 283 std::wstring key_path(L"SomeKey\\ToDelete"); 295 ASSERT_FALSE(RegKey(root, key_path.c_str(), KEY_QUERY_VALUE).Valid()); 297 InstallUtil::DeleteRegistryValueIf(root, key_path.c_str(), 299 EXPECT_FALSE(RegKey(root, key_path.c_str(), KEY_QUERY_VALUE).Valid()); 307 ASSERT_TRUE(RegKey(root, key_path.c_str(), KEY_SET_VALUE).Valid()); 309 InstallUtil::DeleteRegistryValueIf(root, key_path.c_str(), 311 EXPECT_TRUE(RegKey(root, key_path.c_str(), KEY_QUERY_VALUE).Valid()); 320 RegKey(root, key_path.c_str(), 323 InstallUtil::DeleteRegistryValueIf(root, key_path.c_str(), 325 EXPECT_TRUE(RegKey(root, key_path [all...] |
H A D | work_item_list.cc | 133 const std::wstring& key_path, 136 key_path, value_name); 171 const std::wstring& key_path, 176 key_path, 185 const std::wstring& key_path, 190 key_path, 199 const std::wstring& key_path, 204 WorkItem::CreateSetRegValueWorkItem(predefined_root, key_path, value_name, 131 AddDeleteRegValueWorkItem( HKEY predefined_root, const std::wstring& key_path, const std::wstring& value_name) argument 169 AddSetRegValueWorkItem( HKEY predefined_root, const std::wstring& key_path, const std::wstring& value_name, const std::wstring& value_data, bool overwrite) argument 184 AddSetRegValueWorkItem(HKEY predefined_root, const std::wstring& key_path, const std::wstring& value_name, DWORD value_data, bool overwrite) argument 198 AddSetRegValueWorkItem(HKEY predefined_root, const std::wstring& key_path, const std::wstring& value_name, int64 value_data, bool overwrite) argument
|
H A D | registry_key_backup.cc | 274 bool RegistryKeyBackup::Initialize(HKEY root, const wchar_t* key_path) { argument 275 DCHECK(key_path); 281 LONG result = key.Open(root, key_path, kKeyReadNoNotify); 285 LOG(ERROR) << "Failed to backup key at " << key_path; 289 LOG(ERROR) << "Failed to open key at " << key_path 298 bool RegistryKeyBackup::WriteTo(HKEY root, const wchar_t* key_path) const { 299 DCHECK(key_path); 305 LONG result = dest_key.Create(root, key_path, KEY_WRITE); 307 LOG(ERROR) << "Failed to create destination key at " << key_path
|
H A D | install_util.h | 115 // Deletes the registry key at path key_path under the key given by root_key. 116 static bool DeleteRegistryKey(HKEY root_key, const string16& key_path); 118 // Deletes the registry value named value_name at path key_path under the key 120 static bool DeleteRegistryValue(HKEY reg_root, const string16& key_path, 149 // Deletes the value |value_name| in the key |key_path| under |root_key| iff 154 const wchar_t* key_path,
|
/external/chromium/chrome/browser/extensions/ |
H A D | external_registry_extension_loader_win.cc | 49 std::wstring key_path = ASCIIToWide(kRegistryExtensions); local 50 key_path.append(L"\\"); 51 key_path.append(iterator.Name()); 52 if (key.Open(kRegRoot, key_path.c_str(), KEY_READ) == ERROR_SUCCESS) { 60 << key_path; local 72 << " for key " << key_path << " ."; local 82 << " for key " << key_path << " ."; local 96 << " for key " << key_path << " ."; local 101 << " for key " << key_path << " ."; local
|
/external/chromium_org/content/browser/indexed_db/ |
H A D | indexed_db_metadata.cc | 12 const IndexedDBKeyPath& key_path, 17 key_path(key_path), 9 IndexedDBObjectStoreMetadata( const string16& name, int64 id, const IndexedDBKeyPath& key_path, bool auto_increment, int64 max_index_id) argument
|
H A D | indexed_db_metadata.h | 20 const IndexedDBKeyPath& key_path, 25 key_path(key_path), 30 IndexedDBKeyPath key_path; member in struct:content::IndexedDBIndexMetadata 41 const IndexedDBKeyPath& key_path, 47 IndexedDBKeyPath key_path; member in struct:content::IndexedDBObjectStoreMetadata 18 IndexedDBIndexMetadata(const string16& name, int64 id, const IndexedDBKeyPath& key_path, bool unique, bool multi_entry) argument
|
/external/chromium_org/chrome/browser/extensions/ |
H A D | external_registry_loader_win.cc | 73 string16 key_path = ASCIIToWide(kRegistryExtensions); local 74 key_path.append(L"\\"); 75 key_path.append(*it); 77 key_path.c_str(), KEY_READ) != ERROR_SUCCESS) { 79 key_path.c_str(), KEY_READ) != ERROR_SUCCESS) { 81 << key_path << "."; 91 << " for key " << key_path << "."; local 99 << key_path; local 105 << " for key " << key_path local 112 << " for key " << key_path << " ca local 123 << " for key " << key_path << "."; local 131 << " for key " << key_path << "."; local 138 << " for key " << key_path << "."; local [all...] |
/external/chromium_org/content/child/indexed_db/ |
H A D | indexed_db_key_builders.h | 39 static IndexedDBKeyPath Build(const WebKit::WebIDBKeyPath& key_path); 44 static WebKit::WebIDBKeyPath Build(const IndexedDBKeyPath& key_path);
|
H A D | indexed_db_key_builders.cc | 102 const WebKit::WebIDBKeyPath& key_path) { 103 switch (key_path.keyPathType()) { 105 return IndexedDBKeyPath(key_path.string()); 107 return IndexedDBKeyPath(CopyArray(key_path.array())); 116 const IndexedDBKeyPath& key_path) { 117 switch (key_path.type()) { 119 return WebKit::WebIDBKeyPath::create(WebString(key_path.string())); 121 return WebKit::WebIDBKeyPath::create(CopyArray(key_path.array())); 101 Build( const WebKit::WebIDBKeyPath& key_path) argument 115 Build( const IndexedDBKeyPath& key_path) argument
|
/external/chromium_org/base/test/ |
H A D | test_reg_util_win.cc | 21 std::wstring key_path(RegistryOverrideManager::kTempTestKeyPath); 22 key_path += L"\\" + temp_name_; 24 temp_key_.Create(HKEY_CURRENT_USER, key_path.c_str(), KEY_ALL_ACCESS));
|
/external/chromium_org/chrome/browser/policy/cloud/ |
H A D | resource_cache.cc | 105 base::FilePath key_path; local 106 if (!VerifyKeyPath(key, false, &key_path)) 109 base::FileEnumerator enumerator(key_path, false, base::FileEnumerator::FILES); 156 base::FilePath key_path; local 157 if (!VerifyKeyPath(key, false, &key_path)) 164 base::FileEnumerator enumerator(key_path, false, base::FileEnumerator::FILES); 174 base::DeleteFile(key_path, false); 192 base::FilePath key_path; local 194 if (!VerifyKeyPath(key, allow_create_key, &key_path) || 198 *path = key_path [all...] |
/external/chromium/chrome/browser/ |
H A D | idbbindingutilities_browsertest.cc | 31 string16 key_path(UTF8ToUTF16("foo")); 33 serialized_values, key_path, &values); 42 key_path = UTF8ToUTF16("PropertyNotAvailable"); 44 serialized_values, key_path, &values); 52 key_path = UTF8ToUTF16("!+Invalid[KeyPath[[["); 54 serialized_values, key_path, &values); 113 const string16& key_path) { 118 id, serialized_values, key_path)); 124 id, serialized_values, key_path); 130 const string16& key_path) { 111 CheckValuesForKeyPath( int id, const std::vector<SerializedScriptValue>& serialized_values, const string16& key_path) argument 128 CheckInjectValue(const IndexedDBKey& key, const SerializedScriptValue& value, const string16& key_path) argument 212 CheckValuesForKeyPath( int id, const std::vector<SerializedScriptValue>& serialized_script_values, const string16& key_path) argument 221 CheckInjectValue(const IndexedDBKey& key, const SerializedScriptValue& value, const string16& key_path) argument [all...] |
/external/chromium_org/tools/checkdeps/ |
H A D | checkdeps_test.py | 35 def VerifySubstringsInProblems(key_path, substrings_in_sequence): 36 """Finds the problem in |problems| that contains |key_path|, 42 key_path = os.path.normpath(key_path) 44 index = problem.find(key_path) 52 self.fail('Found no problem for file %s' % key_path)
|