/external/chromium_org/win8/delegate_execute/ |
H A D | chrome_util.h | 17 void UpdateChromeIfNeeded(const base::FilePath& chrome_exe);
|
H A D | chrome_util.cc | 44 // Returns the name of the global event used to detect if |chrome_exe| is in 48 base::string16 GetEventName(const base::FilePath& chrome_exe) { argument 52 name.reserve(prefix_len + chrome_exe.value().size()); 54 name.append(chrome_exe.value()); 61 // Returns true if |chrome_exe| is in use by a browser process. In this case, 63 bool IsBrowserRunning(const base::FilePath& chrome_exe) { argument 65 SYNCHRONIZE, FALSE, GetEventName(chrome_exe).c_str())); 77 // |chrome_exe|. 78 bool NewChromeExeExists(const base::FilePath& chrome_exe) { argument 79 base::FilePath new_chrome_exe(chrome_exe 99 UpdateChromeIfNeeded(const base::FilePath& chrome_exe) argument [all...] |
H A D | delegate_execute_util.h | 20 // Returns a CommandLine to launch |chrome_exe| with all switches and arguments 22 base::CommandLine MakeChromeCommandLine(const base::FilePath& chrome_exe,
|
H A D | delegate_execute_util.cc | 25 CommandLine MakeChromeCommandLine(const base::FilePath& chrome_exe, argument 29 chrome_cmd.SetProgram(chrome_exe);
|
H A D | command_execute_impl.cc | 311 bool CommandExecuteImpl::FindChromeExe(base::FilePath* chrome_exe) { argument 320 *chrome_exe = dir_exe.DirName().Append(chrome::kBrowserProcessExecutableName); 321 if (!base::PathExists(*chrome_exe)) { 322 *chrome_exe = dir_exe.Append(chrome::kBrowserProcessExecutableName); 323 if (!base::PathExists(*chrome_exe)) { 436 base::FilePath chrome_exe; local 437 if (!FindChromeExe(&chrome_exe) || 438 ShellUtil::GetChromeDefaultStateFromPath(chrome_exe) !=
|
H A D | command_execute_impl.h | 84 static bool FindChromeExe(base::FilePath* chrome_exe);
|
/external/chromium_org/chrome/browser/metrics/variations/ |
H A D | variations_registry_syncer_win.cc | 44 base::FilePath chrome_exe; local 45 if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { 50 !InstallUtil::IsPerUserInstall(chrome_exe.value().c_str());
|
/external/chromium_org/chrome/installer/util/ |
H A D | shell_util.h | 302 // Returns true if |chrome_exe| is registered in HKLM with |suffix|. 303 // Note: This only checks one deterministic key in HKLM for |chrome_exe| and 306 const base::string16& chrome_exe, 344 // |chrome_exe|: the full path to chrome.exe 345 static base::string16 GetChromeShellOpenCmd(const base::string16& chrome_exe); 350 // |chrome_exe|: the full path to chrome.exe 352 const base::string16& chrome_exe); 379 // |chrome_exe| The path to the currently installed (or running) chrome.exe. 382 const base::string16& chrome_exe); 390 const base::string16& chrome_exe); [all...] |
H A D | shell_util.cc | 222 const base::string16& chrome_exe, 227 chrome_exe, 229 base::string16 open_cmd(ShellUtil::GetChromeShellOpenCmd(chrome_exe)); 231 ShellUtil::GetChromeDelegateCommand(chrome_exe)); 236 dist, InstallUtil::IsPerUserInstall(chrome_exe.c_str()))); 355 const base::string16& chrome_exe, 360 chrome_exe, 362 const base::string16 quoted_exe_path(L"\"" + chrome_exe + L"\""); 436 static void GetAppRegistrationEntries(const base::string16& chrome_exe, argument 439 const base::FilePath chrome_path(chrome_exe); 221 GetProgIdEntries(BrowserDistribution* dist, const base::string16& chrome_exe, const base::string16& suffix, ScopedVector<RegistryEntry>* entries) argument 354 GetShellIntegrationEntries(BrowserDistribution* dist, const base::string16& chrome_exe, const base::string16& suffix, ScopedVector<RegistryEntry>* entries) argument 499 GetXPStyleDefaultBrowserUserEntries( BrowserDistribution* dist, const base::string16& chrome_exe, const base::string16& suffix, ScopedVector<RegistryEntry>* entries) argument 674 IsChromeRegistered(BrowserDistribution* dist, const base::string16& chrome_exe, const base::string16& suffix, uint32 look_for_in) argument 703 ElevateAndRegisterChrome(BrowserDistribution* dist, const base::string16& chrome_exe, const base::string16& suffix, const base::string16& protocol) argument 790 QuickIsChromeRegistered(BrowserDistribution* dist, const base::string16& chrome_exe, const base::string16& suffix, RegistrationConfirmationLevel confirmation_level) argument 851 GetInstallationSpecificSuffix(BrowserDistribution* dist, const base::string16& chrome_exe, base::string16* suffix) argument 888 RegisterChromeAsDefaultXPStyle(BrowserDistribution* dist, int shell_change, const base::string16& chrome_exe) argument 918 RegisterChromeAsDefaultProtocolClientXPStyle( BrowserDistribution* dist, const base::string16& chrome_exe, const base::string16& protocol) argument 1014 RemoveRunVerbOnWindows8(BrowserDistribution* dist, const base::string16& chrome_exe) argument 1057 ProbeCurrentDefaultHandlers( const base::FilePath& chrome_exe, const wchar_t* const* protocols, size_t num_protocols) argument 1084 ProbeAppIsDefaultHandlers( const base::FilePath& chrome_exe, const wchar_t* const* protocols, size_t num_protocols) argument 1112 ProbeOpenCommandHandlers( const base::FilePath& chrome_exe, const wchar_t* const* protocols, size_t num_protocols) argument 1153 ProbeProtocolHandlers( const base::FilePath& chrome_exe, const wchar_t* const* protocols, size_t num_protocols) argument 1443 QuickIsChromeRegisteredInHKLM(BrowserDistribution* dist, const base::string16& chrome_exe, const base::string16& suffix) argument 1629 GetChromeShellOpenCmd( const base::string16& chrome_exe) argument 1634 GetChromeDelegateCommand( const base::string16& chrome_exe) argument 1678 GetCurrentInstallationSuffix( BrowserDistribution* dist, const base::string16& chrome_exe) argument 1708 GetApplicationName(BrowserDistribution* dist, const base::string16& chrome_exe) argument 1791 GetChromeDefaultStateFromPath( const base::FilePath& chrome_exe) argument 1841 MakeChromeDefault(BrowserDistribution* dist, int shell_change, const base::string16& chrome_exe, bool elevate_if_not_admin) argument 1911 ShowMakeChromeDefaultSystemUI( BrowserDistribution* dist, const base::string16& chrome_exe) argument 1940 MakeChromeDefaultProtocolClient( BrowserDistribution* dist, const base::string16& chrome_exe, const base::string16& protocol) argument 1989 ShowMakeChromeDefaultProtocolClientSystemUI( BrowserDistribution* dist, const base::string16& chrome_exe, const base::string16& protocol) argument 2022 RegisterChromeBrowser(BrowserDistribution* dist, const base::string16& chrome_exe, const base::string16& unique_suffix, bool elevate_if_not_admin) argument 2114 RegisterChromeForProtocol(BrowserDistribution* dist, const base::string16& chrome_exe, const base::string16& unique_suffix, const base::string16& protocol, bool elevate_if_not_admin) argument 2210 ShortcutListMaybeRemoveUnknownArgs( ShellUtil::ShortcutLocation location, BrowserDistribution* dist, ShellChange level, const base::FilePath& chrome_exe, bool do_removal, const scoped_refptr<SharedCancellationFlag>& cancel, std::vector<std::pair<base::FilePath, base::string16> >* shortcuts) argument [all...] |
H A D | auto_launch_util.cc | 76 base::FilePath chrome_exe(application_path); 77 if (chrome_exe.empty()) { 78 if (!PathService::Get(base::DIR_EXE, &chrome_exe)) { 83 chrome_exe = chrome_exe.Append(installer::kChromeExe); 85 if (autolaunch.find(chrome_exe.value()) == base::string16::npos)
|
H A D | google_update_util.cc | 151 base::FilePath chrome_exe; local 152 if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { 159 chrome_exe.value().c_str());
|
/external/chromium_org/chrome/browser/metro_utils/ |
H A D | metro_chrome_win.cc | 27 base::FilePath chrome_exe; 28 if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { 35 InstallUtil::IsPerUserInstall(chrome_exe.value().c_str()));
|
/external/chromium_org/chrome/browser/ |
H A D | shell_integration_win.cc | 140 base::FilePath chrome_exe; local 141 if (!PathService::Get(base::FILE_EXE, &chrome_exe)) 175 ShellIntegration::MigrateShortcutsInPathInternal(chrome_exe, path, 262 base::FilePath chrome_exe; local 263 if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { 271 chrome_exe.value(), true)) { 284 base::FilePath chrome_exe; 285 if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { 292 if (!ShellUtil::MakeChromeDefaultProtocolClient(dist, chrome_exe.value(), 304 base::FilePath chrome_exe; local 322 base::FilePath chrome_exe; local 408 base::FilePath chrome_exe; local 439 MigrateShortcutsInPathInternal( const base::FilePath& chrome_exe, const base::FilePath& path, bool check_dual_mode) argument 558 GetStartMenuShortcut( const base::FilePath& chrome_exe) argument [all...] |
H A D | shell_integration.h | 145 // Migrates all shortcuts in |path| which point to |chrome_exe| such that they 152 static int MigrateShortcutsInPathInternal(const base::FilePath& chrome_exe, 157 static base::FilePath GetStartMenuShortcut(const base::FilePath& chrome_exe);
|
/external/chromium_org/chrome/browser/first_run/ |
H A D | upgrade_util_win.cc | 76 base::FilePath GetMetroRelauncherPath(const base::FilePath& chrome_exe, argument 78 base::FilePath path(chrome_exe.DirName()); 146 base::FilePath chrome_exe; local 147 if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { 156 chrome_exe.DirName().Append(installer::kChromeExe)); 190 ShellIntegration::GetStartMenuShortcut(chrome_exe)); 199 base::string16 path(GetMetroRelauncherPath(chrome_exe, version_str).value());
|
H A D | first_run_internal_win.cc | 129 base::FilePath chrome_exe; local 130 if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { 132 } else if (!InstallUtil::IsPerUserInstall(chrome_exe.value().c_str())) {
|
/external/chromium_org/chrome/installer/setup/ |
H A D | uninstall.h | 56 const base::string16& chrome_exe);
|
H A D | install.cc | 251 const base::FilePath& chrome_exe) { 473 const base::string16 chrome_exe( 475 VLOG(1) << "Registering Chrome as browser: " << chrome_exe; 480 ShellUtil::MakeChromeDefault(dist, level, chrome_exe, true); 482 ShellUtil::RegisterChromeBrowser(dist, chrome_exe, base::string16(), false); 554 const base::FilePath chrome_exe( 556 CleanupLegacyShortcuts(installer_state, chrome_dist, chrome_exe); 577 CreateOrUpdateShortcuts(chrome_exe, *chrome_product, prefs, install_level, 649 base::FilePath chrome_exe(installer_state.target_path().Append(kChromeExe)); 651 chrome_exe, chrom 249 CleanupLegacyShortcuts(const installer::InstallerState& installer_state, BrowserDistribution* dist, const base::FilePath& chrome_exe) argument [all...] |
H A D | setup_main.cc | 229 base::FilePath chrome_exe(target_path.Append(installer::kChromeExe)); 245 install_list->AddMoveTreeWorkItem(chrome_exe.value(), 250 chrome_exe.value(), 584 base::FilePath chrome_exe = local 586 CommandLine cmd(chrome_exe); 928 base::FilePath chrome_exe( 930 if (chrome_exe.empty()) 931 chrome_exe = setup_exe.DirName().Append(installer::kChromeExe); 932 if (!chrome_exe.IsAbsolute()) 933 chrome_exe 1573 base::string16 chrome_exe; local [all...] |
H A D | uninstall.cc | 916 base::FilePath chrome_exe(installer_state.target_path().Append(kChromeExe)); 937 InstallUtil::ProgramCompare open_command_pred(chrome_exe); 1025 InstallUtil::ProgramCompare open_command_pred(chrome_exe); 1049 const base::string16& chrome_exe) { 1064 suffix = ShellUtil::GetCurrentInstallationSuffix(dist, chrome_exe); 1084 const base::FilePath& chrome_exe) { 1086 FirewallManager::Create(dist, chrome_exe); 1100 const base::string16 chrome_exe( 1121 ShellUtil::GetCurrentInstallationSuffix(browser_dist, chrome_exe)); 1131 browser_dist, chrome_exe, suffi 1048 RemoveChromeLegacyRegistryKeys(BrowserDistribution* dist, const base::string16& chrome_exe) argument 1083 UninstallFirewallRules(BrowserDistribution* dist, const base::FilePath& chrome_exe) argument [all...] |
/external/chromium_org/chrome/browser/ui/views/app_list/win/ |
H A D | app_list_service_win.cc | 104 base::FilePath chrome_exe; local 105 if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { 109 CommandLine command_line(chrome_exe); 184 base::FilePath chrome_exe; local 185 if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { 195 shortcut_properties.set_target(chrome_exe); 196 shortcut_properties.set_working_dir(chrome_exe.DirName()); 199 shortcut_properties.set_icon(chrome_exe, GetAppListIconIndex());
|
/external/chromium_org/win8/test/ |
H A D | metro_registration_helper.cc | 44 base::FilePath chrome_exe(dir.Append(kChromeExe)); 47 if (!base::PathExists(chrome_exe) || !base::PathExists(registrar)) {
|
/external/chromium_org/chrome/browser/profiles/ |
H A D | profile_shortcut_manager_win.cc | 265 const base::FilePath& chrome_exe, 277 return ConvertToLongPath(target_path) == ConvertToLongPath(chrome_exe); 283 void ListDesktopShortcutsWithCommandLine(const base::FilePath& chrome_exe, argument 296 if (!IsChromeShortcut(path, chrome_exe, &shortcut_command_line)) 408 base::FilePath chrome_exe; local 409 if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { 433 product.AddDefaultShortcutProperties(chrome_exe, &properties); 457 ListDesktopShortcutsWithCommandLine(chrome_exe, command_line, 478 // Returns true if any desktop shortcuts exist with target |chrome_exe|, 480 bool ChromeDesktopShortcutsExist(const base::FilePath& chrome_exe) { argument 264 IsChromeShortcut(const base::FilePath& path, const base::FilePath& chrome_exe, base::string16* command_line) argument 504 base::FilePath chrome_exe; local 555 base::FilePath chrome_exe; local 707 base::FilePath chrome_exe; local [all...] |
/external/chromium_org/chrome/browser/profile_resetter/ |
H A D | profile_resetter.cc | 43 base::FilePath chrome_exe; local 44 if (!PathService::Get(base::FILE_EXE, &chrome_exe)) 54 chrome_exe, local 334 base::FilePath chrome_exe; local 335 if (!PathService::Get(base::FILE_EXE, &chrome_exe)) 348 chrome_exe, local
|
/external/chromium_org/chrome/browser/google/ |
H A D | google_update_win.cc | 257 base::FilePath chrome_exe; local 258 if (!PathService::Get(base::DIR_EXE, &chrome_exe)) 261 GoogleUpdateErrorCode error_code = CanUpdateCurrentChrome(chrome_exe); 295 if (InstallUtil::IsPerUserInstall(chrome_exe.value().c_str())) {
|