Searched refs:key_path (Results 1 - 25 of 56) sorted by relevance

123

/external/chromium_org/chrome/installer/util/
H A Dcreate_reg_key_work_item.cc56 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 Dnon_updating_app_registration_data.cc8 const base::string16& key_path) : key_path_(key_path) {}
7 NonUpdatingAppRegistrationData( const base::string16& key_path) argument
H A Dregistry_key_backup.h26 // 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 Dwork_item.cc64 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 Dconditional_work_item_list.h39 explicit ConditionRunIfFileExists(const base::FilePath& key_path) argument
40 : key_path_(key_path) {}
H A Dnon_updating_app_registration_data.h16 explicit NonUpdatingAppRegistrationData(const base::string16& key_path);
H A Ddelete_reg_key_work_item_unittest.cc39 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 Dset_reg_value_work_item.h46 const std::wstring& key_path,
53 const std::wstring& key_path,
60 const std::wstring& key_path,
H A Dset_reg_value_work_item.cc16 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 Ddelete_reg_value_work_item.h42 const std::wstring& key_path,
H A Ddelete_tree_work_item_unittest.cc147 // 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 Dwork_item.h111 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 Dwork_item_list.h74 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 Dinstall_util_unittest.cc290 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 Dwork_item_list.cc125 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 Dregistry_key_backup.cc275 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 Dindexed_db_metadata.h20 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 base::string16& name, int64 id, const IndexedDBKeyPath& key_path, bool unique, bool multi_entry) argument
H A Dindexed_db_metadata.cc12 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 Dexternal_registry_loader_win.cc79 base::string16 key_path = base::ASCIIToWide(kRegistryExtensions); local
80 key_path.append(L"\\");
81 key_path.append(*it);
83 key_path.c_str(), KEY_READ) != ERROR_SUCCESS) {
85 key_path.c_str(), KEY_READ) != ERROR_SUCCESS) {
87 << key_path << ".";
96 << " for key " << key_path << "."; local
123 << " for key " << key_path << "."; local
131 << key_path; local
137 << " for key " << key_path local
144 << " for key " << key_path << " can not be read. " local
155 << " for key " << key_path << "."; local
162 << " for key " << key_path << "."; local
[all...]
/external/chromium_org/base/test/
H A Dtest_reg_util_win.cc54 base::string16 key_path = test_key_root; local
55 key_path += L"\\" + base::Int64ToString16(timestamp.ToInternalValue());
56 key_path += kTimestampDelimiter + base::ASCIIToWide(base::GenerateGUID());
58 return key_path;
65 const base::string16& key_path)
69 temp_key_.Create(HKEY_CURRENT_USER, key_path.c_str(), KEY_ALL_ACCESS));
97 base::string16 key_path = GenerateTempKeyPath(test_key_root_, timestamp_); local
98 overrides_.push_back(new ScopedRegistryKeyOverride(override, key_path));
63 ScopedRegistryKeyOverride( HKEY override, const base::string16& key_path) argument
H A Dtest_reg_util_win_unittest.cc40 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 Dresource_cache.cc112 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 Dindexed_db_key_builders.cc110 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 Dindexed_db_key_builders.h48 static IndexedDBKeyPath Build(const blink::WebIDBKeyPath& key_path);
56 static blink::WebIDBKeyPath Build(const IndexedDBKeyPath& key_path);
/external/chromium_org/build/android/gyp/
H A Dfinalize_apk.py17 def SignApk(key_path, key_name, key_passwd, unsigned_path, signed_path):
23 '-keystore', key_path,
57 SignApk(options.key_path, options.key_name, options.key_passwd,

Completed in 358 milliseconds

123