Searched defs:shortcut_path (Results 1 - 8 of 8) sorted by relevance

/external/chromium_org/base/test/
H A Dtest_shortcut_win.cc50 void ValidateShortcut(const base::FilePath& shortcut_path, argument
76 shortcut_path.value().c_str(), 0))) << "Failed to load shortcut at "
77 << shortcut_path.value();
/external/chromium_org/base/win/
H A Dshortcut.cc45 bool CreateOrUpdateShortcutLink(const FilePath& shortcut_path, argument
57 bool shortcut_existed = PathExists(shortcut_path);
71 InitializeShortcutInterfaces(shortcut_path.value().c_str(), &i_shell_link,
75 InitializeShortcutInterfaces(shortcut_path.value().c_str(),
77 // Confirm |shortcut_path| exists and is a shortcut by verifying
152 HRESULT result = i_persist_file->Save(shortcut_path.value().c_str(), TRUE);
168 SHChangeNotify(SHCNE_CREATE, SHCNF_PATH, shortcut_path.value().c_str(),
176 bool ResolveShortcutProperties(const FilePath& shortcut_path, argument
199 if (FAILED(persist->Load(shortcut_path.value().c_str(), STGM_READ)))
287 bool ResolveShortcut(const FilePath& shortcut_path, argument
[all...]
/external/chromium_org/chrome/browser/
H A Dshell_integration_win_unittest.cc89 base::FilePath shortcut_path = local
93 shortcut_test_object.path = shortcut_path;
97 shortcut_path, *shortcut_properties,
/external/chromium_org/chrome/installer/util/
H A Dshell_util_unittest.cc384 base::FilePath shortcut_path = GetExpectedShortcutPath( local
386 ASSERT_TRUE(base::PathExists(shortcut_path));
391 ASSERT_FALSE(base::PathExists(shortcut_path));
392 ASSERT_TRUE(base::PathExists(shortcut_path.DirName()));
400 base::FilePath shortcut_path = GetExpectedShortcutPath( local
402 ASSERT_TRUE(base::PathExists(shortcut_path));
407 ASSERT_FALSE(base::PathExists(shortcut_path));
408 ASSERT_TRUE(base::PathExists(shortcut_path.DirName()));
753 base::FilePath shortcut_path(
757 ASSERT_TRUE(base::PathExists(shortcut_path));
[all...]
H A Dshell_util.cc1200 typedef base::Callback<bool(const base::FilePath& /*shortcut_path*/,
1248 typedef base::Callback<bool(const base::FilePath& /*shortcut_path*/)>
1251 bool ShortcutOpUnpin(const base::FilePath& shortcut_path) { argument
1252 VLOG(1) << "Trying to unpin " << shortcut_path.value();
1253 if (!base::win::TaskbarUnpinShortcutLink(shortcut_path.value().c_str())) {
1254 VLOG(1) << shortcut_path.value() << " wasn't pinned (or the unpin failed).";
1260 bool ShortcutOpDelete(const base::FilePath& shortcut_path) { argument
1261 bool ret = base::DeleteFile(shortcut_path, false);
1262 LOG_IF(ERROR, !ret) << "Failed to remove " << shortcut_path.value();
1268 const base::FilePath& shortcut_path) {
1266 ShortcutOpRetarget(const base::FilePath& old_target, const base::FilePath& new_target, const base::FilePath& shortcut_path) argument
1291 ShortcutOpListOrRemoveUnknownArgs( bool do_removal, std::vector<std::pair<base::FilePath, base::string16> >* shortcuts, const base::FilePath& shortcut_path) argument
[all...]
/external/chromium_org/chrome/browser/web_applications/
H A Dweb_app_win.cc113 // Finds shortcuts in |shortcut_path| that match profile for |profile_path| and
117 const base::FilePath& shortcut_path,
124 base::FileEnumerator files(shortcut_path, false,
135 base::FilePath base_path = shortcut_path.
116 FindAppShortcutsByProfileAndTitle( const base::FilePath& shortcut_path, const base::FilePath& profile_path, const base::string16& shortcut_name) argument
/external/chromium_org/chrome/browser/profiles/
H A Dprofile_shortcut_manager_unittest_win.cc131 // shortcut at |shortcut_path| for the profile at |profile_path|.
133 const base::FilePath& shortcut_path,
135 EXPECT_TRUE(base::PathExists(shortcut_path)) << location.ToString();
151 base::win::ValidateShortcut(shortcut_path, expected_properties);
165 const base::FilePath& shortcut_path) {
166 EXPECT_TRUE(base::PathExists(shortcut_path)) << location.ToString();
174 base::win::ValidateShortcut(shortcut_path, expected_properties);
178 const base::FilePath shortcut_path = local
180 ValidateNonProfileShortcutAtPath(location, shortcut_path);
200 const base::FilePath shortcut_path local
132 ValidateProfileShortcutAtPath(const tracked_objects::Location& location, const base::FilePath& shortcut_path, const base::FilePath& profile_path) argument
163 ValidateNonProfileShortcutAtPath( const tracked_objects::Location& location, const base::FilePath& shortcut_path) argument
[all...]
/external/chromium_org/ui/app_list/views/
H A Dapps_grid_view.cc254 void set_shortcut_path(const base::FilePath& shortcut_path) { argument
256 shortcut_path_ = shortcut_path;

Completed in 236 milliseconds