HomeSort by relevance Sort by last modified time
    Searched refs:ShellUtil (Results 1 - 25 of 33) sorted by null

1 2

  /external/chromium_org/chrome/installer/util/
shell_util_unittest.cc 36 ShellUtilShortcutTest() : test_properties_(ShellUtil::CURRENT_USER) {}
90 ShellUtil::ShortcutLocation location,
92 const ShellUtil::ShortcutProperties& properties) {
95 case ShellUtil::SHORTCUT_LOCATION_DESKTOP:
96 expected_path = (properties.level == ShellUtil::CURRENT_USER) ?
99 case ShellUtil::SHORTCUT_LOCATION_QUICK_LAUNCH:
100 expected_path = (properties.level == ShellUtil::CURRENT_USER) ?
104 case ShellUtil::SHORTCUT_LOCATION_START_MENU_CHROME_DIR:
105 expected_path = (properties.level == ShellUtil::CURRENT_USER) ?
155 // Tests are always seen as user-level installs in ShellUtil
    [all...]
shell_util.cc 114 if (ShellUtil::GetUserSpecificRegistrySuffix(&new_style_suffix) &&
156 ShellUtil::ByteArrayToBase32(md5_digest.a, arraysize(md5_digest.a)));
201 return string16(ShellUtil::kRegStartMenuInternet)
223 ShellUtil::FormatIconLocation(
226 string16 open_cmd(ShellUtil::GetChromeShellOpenCmd(chrome_exe));
227 string16 delegate_command(ShellUtil::GetChromeDelegateCommand(chrome_exe));
231 ShellUtil::GetBrowserModelId(
240 string16 model_id_shell(ShellUtil::kRegClasses);
243 model_id_shell.append(ShellUtil::kRegExePath);
244 model_id_shell.append(ShellUtil::kRegShellPath)
    [all...]
shell_util.h 7 // ShellUtil class.
27 class ShellUtil {
305 static bool ShortcutLocationIsSupported(ShellUtil::ShortcutLocation location);
311 static bool GetShortcutPath(ShellUtil::ShortcutLocation location,
326 ShellUtil::ShortcutLocation location,
328 const ShellUtil::ShortcutProperties& properties,
329 ShellUtil::ShortcutOperation operation);
522 static bool RemoveShortcuts(ShellUtil::ShortcutLocation location,
534 ShellUtil::ShortcutLocation location,
538 const ShellUtil::ShortcutProperties& properties)
    [all...]
chrome_app_host_operations.cc 100 ShellUtil::ShortcutProperties* properties) const {
117 properties->set_app_id(ShellUtil::BuildAppModelId(components));
chrome_app_host_operations.h 50 ShellUtil::ShortcutProperties* properties) const OVERRIDE;
chrome_binaries_operations.h 50 ShellUtil::ShortcutProperties* properties) const OVERRIDE;
chrome_browser_operations.h 49 ShellUtil::ShortcutProperties* properties) const OVERRIDE;
chrome_frame_operations.h 49 ShellUtil::ShortcutProperties* properties) const OVERRIDE;
product_operations.h 80 // Modifies a ShellUtil::ShortcutProperties object by assigning default values
85 ShellUtil::ShortcutProperties* properties) const = 0;
chrome_browser_operations.cc 110 ShellUtil::ShortcutProperties* properties) const {
131 ShellUtil::GetBrowserModelId(dist, is_per_user_install));
chrome_binaries_operations.cc 81 ShellUtil::ShortcutProperties* properties) const {
product.h 131 ShellUtil::ShortcutProperties* properties) const;
  /external/chromium_org/chrome/installer/setup/
install.cc 54 void LogShortcutOperation(ShellUtil::ShortcutLocation location,
56 const ShellUtil::ShortcutProperties& properties,
57 ShellUtil::ShortcutOperation operation,
59 // ShellUtil::SHELL_SHORTCUT_UPDATE_EXISTING should not be used at install and
61 DCHECK(operation != ShellUtil::SHELL_SHORTCUT_UPDATE_EXISTING);
66 (operation == ShellUtil::SHELL_SHORTCUT_CREATE_ALWAYS ||
67 operation == ShellUtil::SHELL_SHORTCUT_CREATE_IF_NO_SYSTEM_LEVEL) ?
69 if (failed && operation == ShellUtil::SHELL_SHORTCUT_REPLACE_EXISTING)
71 message.append((properties.level == ShellUtil::CURRENT_USER) ? "per-user " :
74 case ShellUtil::SHORTCUT_LOCATION_DESKTOP
    [all...]
uninstall.cc 328 ShellUtil::ShellChange install_level = ShellUtil::CURRENT_USER;
329 ShellUtil::ShortcutProperties updated_properties(install_level);
333 // ShellUtil::ShortcutLocations.
335 for (int location = ShellUtil::SHORTCUT_LOCATION_FIRST;
336 location < ShellUtil::NUM_SHORTCUT_LOCATIONS; ++location) {
337 if (!ShellUtil::UpdateShortcutsWithArgs(
338 static_cast<ShellUtil::ShortcutLocation>(location), dist,
356 ShellUtil::ShellChange install_level = installer_state.system_install() ?
357 ShellUtil::SYSTEM_LEVEL : ShellUtil::CURRENT_USER
    [all...]
setup_main.cc     [all...]
  /external/chromium_org/chrome/browser/
shell_integration_win.cc 125 app_name = ShellUtil::GetBrowserModelId(dist, is_per_user_install);
179 ShellUtil::DefaultState default_state) {
181 case ShellUtil::NOT_DEFAULT:
183 case ShellUtil::IS_DEFAULT:
186 DCHECK_EQ(ShellUtil::UNKNOWN_DEFAULT, default_state);
200 if (ShellUtil::CanMakeChromeDefaultUnattended())
215 if (!ShellUtil::MakeChromeDefault(dist, ShellUtil::CURRENT_USER,
237 if (!ShellUtil::MakeChromeDefaultProtocolClient(dist, chrome_exe.value(),
256 if (!ShellUtil::ShowMakeChromeDefaultSystemUI(dist, chrome_exe.value()))
    [all...]
chrome_browser_main_win.cc 134 ShellUtil::ShortcutLocation user_shortcut_locations[] = {
135 ShellUtil::SHORTCUT_LOCATION_DESKTOP,
136 ShellUtil::SHORTCUT_LOCATION_QUICK_LAUNCH,
137 ShellUtil::SHORTCUT_LOCATION_START_MENU_CHROME_DIR,
138 ShellUtil::SHORTCUT_LOCATION_START_MENU_CHROME_APPS_DIR,
142 if (!ShellUtil::RemoveShortcuts(user_shortcut_locations[i], dist,
143 ShellUtil::CURRENT_USER, chrome_exe)) {
  /external/chromium_org/chrome/browser/metro_utils/
metro_chrome_win.cc 28 base::string16 app_id = ShellUtil::GetBrowserModelId(
  /external/chromium_org/chrome/browser/web_applications/
web_app_win.cc 461 if (ShellUtil::GetShortcutPath(
462 ShellUtil::SHORTCUT_LOCATION_START_MENU_CHROME_APPS_DIR,
464 ShellUtil::CURRENT_USER,
477 if (ShellUtil::GetShortcutPath(
478 ShellUtil::SHORTCUT_LOCATION_START_MENU_CHROME_APPS_DIR,
480 ShellUtil::CURRENT_USER,
494 ShellUtil::ShortcutLocation location_id;
498 ShellUtil::SHORTCUT_LOCATION_DESKTOP
502 ShellUtil::SHORTCUT_LOCATION_START_MENU_ROOT
506 ShellUtil::SHORTCUT_LOCATION_START_MENU_CHROME_DI
    [all...]
  /external/chromium_org/chrome/browser/profiles/
profile_shortcut_manager_win.cc 249 !ShellUtil::GetShortcutPath(ShellUtil::SHORTCUT_LOCATION_DESKTOP,
250 distribution, ShellUtil::CURRENT_USER,
256 !ShellUtil::GetShortcutPath(ShellUtil::SHORTCUT_LOCATION_DESKTOP,
257 distribution, ShellUtil::SYSTEM_LEVEL,
446 ShellUtil::ShortcutProperties properties(ShellUtil::CURRENT_USER);
461 // |ShellUtil::CreateOrUpdateShortcut| updates that part of the shortcut.
468 ShellUtil::ShortcutOperation operation
    [all...]
profile_shortcut_manager_unittest_win.cc 205 ShellUtil::ShortcutProperties properties(ShellUtil::CURRENT_USER);
208 EXPECT_TRUE(ShellUtil::CreateOrUpdateShortcut(
209 ShellUtil::SHORTCUT_LOCATION_DESKTOP, GetDistribution(), properties,
210 ShellUtil::SHELL_SHORTCUT_CREATE_ALWAYS)) << location.ToString();
220 ShellUtil::ShortcutProperties properties(ShellUtil::SYSTEM_LEVEL);
222 EXPECT_TRUE(ShellUtil::CreateOrUpdateShortcut(
223 ShellUtil::SHORTCUT_LOCATION_DESKTOP, distribution, properties,
224 ShellUtil::SHELL_SHORTCUT_CREATE_ALWAYS)) << location.ToString()
    [all...]
  /external/chromium/chrome/browser/
shell_integration_win.cc 280 if (!ShellUtil::MakeChromeDefault(dist, ShellUtil::CURRENT_USER,
323 if (ShellUtil::GetUserSpecificDefaultBrowserSuffix(dist, &suffix))
348 std::wstring key_path(kChromeProtocols[i] + ShellUtil::kRegShellOpen);
381 ShellUtil::kRegVistaUrlPrefs, KEY_READ);
387 key_path.append(ShellUtil::kRegShellOpen);
browser_main_win.cc 174 if (!ShellUtil::RemoveChromeDesktopShortcut(dist, ShellUtil::CURRENT_USER,
177 if (!ShellUtil::RemoveChromeQuickLaunchShortcut(dist,
178 ShellUtil::CURRENT_USER))
  /external/chromium/chrome/browser/first_run/
first_run_win.cc 104 return ShellUtil::CreateChromeDesktopShortcut(
108 ShellUtil::CURRENT_USER,
120 return ShellUtil::CreateChromeQuickLaunchShortcut(
123 ShellUtil::CURRENT_USER, // create only for current user.
  /external/chromium/chrome/browser/ui/views/
uninstall_view.cc 73 ShellUtil::GetRegisteredBrowsers(dist, browsers_.get());

Completed in 210 milliseconds

1 2