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

1 2

  /external/chromium_org/chrome/installer/util/
shell_util_unittest.cc 39 ShellUtilShortcutTest() : test_properties_(ShellUtil::CURRENT_USER) {}
97 ShellUtil::ShortcutLocation location,
99 const ShellUtil::ShortcutProperties& properties) {
102 case ShellUtil::SHORTCUT_LOCATION_DESKTOP:
103 expected_path = (properties.level == ShellUtil::CURRENT_USER) ?
106 case ShellUtil::SHORTCUT_LOCATION_QUICK_LAUNCH:
107 expected_path = (properties.level == ShellUtil::CURRENT_USER) ?
111 case ShellUtil::SHORTCUT_LOCATION_START_MENU_CHROME_DIR:
112 expected_path = (properties.level == ShellUtil::CURRENT_USER) ?
135 ShellUtil::ShortcutLocation location
    [all...]
shell_util.cc 117 if (ShellUtil::GetUserSpecificRegistrySuffix(&new_style_suffix) &&
159 ShellUtil::ByteArrayToBase32(md5_digest.a, arraysize(md5_digest.a)));
204 return base::string16(ShellUtil::kRegStartMenuInternet)
226 ShellUtil::FormatIconLocation(
229 base::string16 open_cmd(ShellUtil::GetChromeShellOpenCmd(chrome_exe));
231 ShellUtil::GetChromeDelegateCommand(chrome_exe));
235 ShellUtil::GetBrowserModelId(
244 base::string16 model_id_shell(ShellUtil::kRegClasses);
247 model_id_shell.append(ShellUtil::kRegExePath);
248 model_id_shell.append(ShellUtil::kRegShellPath)
    [all...]
shell_util.h 7 // ShellUtil class.
33 class ShellUtil {
311 static bool ShortcutLocationIsSupported(ShellUtil::ShortcutLocation location);
317 static bool GetShortcutPath(ShellUtil::ShortcutLocation location,
332 ShellUtil::ShortcutLocation location,
334 const ShellUtil::ShortcutProperties& properties,
335 ShellUtil::ShortcutOperation operation);
538 static bool RemoveShortcuts(ShellUtil::ShortcutLocation location,
552 ShellUtil::ShortcutLocation location,
565 ShellUtil::ShortcutLocation location
    [all...]
chrome_app_host_operations.cc 103 ShellUtil::ShortcutProperties* properties) const {
120 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 83 // Modifies a ShellUtil::ShortcutProperties object by assigning default values
88 ShellUtil::ShortcutProperties* properties) const = 0;
chrome_browser_operations.cc 113 ShellUtil::ShortcutProperties* properties) const {
134 ShellUtil::GetBrowserModelId(dist, is_per_user_install));
chrome_binaries_operations.cc 83 ShellUtil::ShortcutProperties* properties) const {
product.h 124 ShellUtil::ShortcutProperties* properties) const;
chrome_frame_operations.cc 127 ShellUtil::ShortcutProperties* properties) const {
product.cc 158 ShellUtil::ShortcutProperties* properties) const {
  /external/chromium_org/chrome/installer/setup/
install.cc 48 void LogShortcutOperation(ShellUtil::ShortcutLocation location,
50 const ShellUtil::ShortcutProperties& properties,
51 ShellUtil::ShortcutOperation operation,
53 // ShellUtil::SHELL_SHORTCUT_UPDATE_EXISTING should not be used at install and
55 DCHECK(operation != ShellUtil::SHELL_SHORTCUT_UPDATE_EXISTING);
60 (operation == ShellUtil::SHELL_SHORTCUT_CREATE_ALWAYS ||
61 operation == ShellUtil::SHELL_SHORTCUT_CREATE_IF_NO_SYSTEM_LEVEL) ?
63 if (failed && operation == ShellUtil::SHELL_SHORTCUT_REPLACE_EXISTING)
65 message.append((properties.level == ShellUtil::CURRENT_USER) ? "per-user " :
68 case ShellUtil::SHORTCUT_LOCATION_DESKTOP
    [all...]
uninstall.cc 321 ShellUtil::ShellChange install_level = ShellUtil::CURRENT_USER;
324 // ShellUtil::ShortcutLocations.
326 for (int location = ShellUtil::SHORTCUT_LOCATION_FIRST;
327 location < ShellUtil::NUM_SHORTCUT_LOCATIONS; ++location) {
328 if (!ShellUtil::RetargetShortcutsWithArgs(
329 static_cast<ShellUtil::ShortcutLocation>(location), dist,
347 ShellUtil::ShellChange install_level = installer_state.system_install() ?
348 ShellUtil::SYSTEM_LEVEL : ShellUtil::CURRENT_USER
    [all...]
setup_main.cc     [all...]
  /external/chromium_org/chrome/browser/profile_resetter/
profile_resetter.cc 49 for (int location = ShellUtil::SHORTCUT_LOCATION_FIRST;
50 location < ShellUtil::NUM_SHORTCUT_LOCATIONS; ++location) {
51 ShellUtil::ShortcutListMaybeRemoveUnknownArgs(
52 static_cast<ShellUtil::ShortcutLocation>(location),
54 ShellUtil::CURRENT_USER,
354 for (int location = ShellUtil::SHORTCUT_LOCATION_FIRST;
355 location < ShellUtil::NUM_SHORTCUT_LOCATIONS; ++location) {
358 ShellUtil::ShortcutListMaybeRemoveUnknownArgs(
359 static_cast<ShellUtil::ShortcutLocation>(location),
361 ShellUtil::CURRENT_USER
    [all...]
  /external/chromium_org/chrome/browser/
shell_integration_win.cc 128 app_name = ShellUtil::GetBrowserModelId(dist, is_per_user_install);
234 ShellUtil::DefaultState default_state) {
236 case ShellUtil::NOT_DEFAULT:
238 case ShellUtil::IS_DEFAULT:
241 DCHECK_EQ(ShellUtil::UNKNOWN_DEFAULT, default_state);
255 if (ShellUtil::CanMakeChromeDefaultUnattended())
270 if (!ShellUtil::MakeChromeDefault(dist, ShellUtil::CURRENT_USER,
292 if (!ShellUtil::MakeChromeDefaultProtocolClient(dist, chrome_exe.value(),
311 if (!ShellUtil::ShowMakeChromeDefaultSystemUI(dist, chrome_exe.value()))
    [all...]
chrome_browser_main_win.cc 137 ShellUtil::ShortcutLocation user_shortcut_locations[] = {
138 ShellUtil::SHORTCUT_LOCATION_DESKTOP,
139 ShellUtil::SHORTCUT_LOCATION_QUICK_LAUNCH,
140 ShellUtil::SHORTCUT_LOCATION_START_MENU_CHROME_DIR,
141 ShellUtil::SHORTCUT_LOCATION_START_MENU_CHROME_APPS_DIR,
145 if (!ShellUtil::RemoveShortcuts(user_shortcut_locations[i], dist,
146 ShellUtil::CURRENT_USER, chrome_exe)) {
  /external/chromium_org/chrome/browser/web_applications/
web_app_win.cc 537 if (ShellUtil::GetShortcutPath(
538 ShellUtil::SHORTCUT_LOCATION_START_MENU_CHROME_APPS_DIR,
540 ShellUtil::CURRENT_USER,
553 if (ShellUtil::GetShortcutPath(
554 ShellUtil::SHORTCUT_LOCATION_START_MENU_CHROME_APPS_DIR,
556 ShellUtil::CURRENT_USER,
570 ShellUtil::ShortcutLocation location_id;
574 ShellUtil::SHORTCUT_LOCATION_DESKTOP
578 ShellUtil::SHORTCUT_LOCATION_START_MENU_ROOT
582 ShellUtil::SHORTCUT_LOCATION_START_MENU_CHROME_DI
    [all...]
  /external/chromium_org/chrome/browser/profiles/
profile_shortcut_manager_win.cc 234 !ShellUtil::GetShortcutPath(ShellUtil::SHORTCUT_LOCATION_DESKTOP,
235 distribution, ShellUtil::CURRENT_USER,
241 !ShellUtil::GetShortcutPath(ShellUtil::SHORTCUT_LOCATION_DESKTOP,
242 distribution, ShellUtil::SYSTEM_LEVEL,
431 ShellUtil::ShortcutProperties properties(ShellUtil::CURRENT_USER);
446 // |ShellUtil::CreateOrUpdateShortcut| updates that part of the shortcut.
453 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_org/chrome/browser/metro_utils/
metro_chrome_win.cc 33 base::string16 app_id = ShellUtil::GetBrowserModelId(
  /external/chromium_org/win8/delegate_execute/
command_execute_impl.cc 261 base::string16 app_id = ShellUtil::GetBrowserModelId(
446 ShellUtil::GetChromeDefaultStateFromPath(chrome_exe) !=
447 ShellUtil::IS_DEFAULT) {

Completed in 116 milliseconds

1 2