diff options
author | dbeam@chromium.org <dbeam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-20 17:35:56 +0000 |
---|---|---|
committer | dbeam@chromium.org <dbeam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-20 17:35:56 +0000 |
commit | 4dcc2ec6b1a9417aab85183acbca64761ccdd32d (patch) | |
tree | ec1ac02e939a76a038f3c47824a34c36fb2de90e /win8/delegate_execute/command_execute_impl.cc | |
parent | fdd91ad2e68f187bc301c30ecda7e503dae32126 (diff) | |
download | chromium_src-4dcc2ec6b1a9417aab85183acbca64761ccdd32d.zip chromium_src-4dcc2ec6b1a9417aab85183acbca64761ccdd32d.tar.gz chromium_src-4dcc2ec6b1a9417aab85183acbca64761ccdd32d.tar.bz2 |
Add base:: to string16s in win8/.
R=grt@chromium.org
BUG=329295
Review URL: https://codereview.chromium.org/119733002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242114 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'win8/delegate_execute/command_execute_impl.cc')
-rw-r--r-- | win8/delegate_execute/command_execute_impl.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/win8/delegate_execute/command_execute_impl.cc b/win8/delegate_execute/command_execute_impl.cc index cb68f54..9381fd2 100644 --- a/win8/delegate_execute/command_execute_impl.cc +++ b/win8/delegate_execute/command_execute_impl.cc @@ -36,7 +36,7 @@ namespace { // Helper function to retrieve the url from IShellItem interface passed in. // Returns S_OK on success. -HRESULT GetUrlFromShellItem(IShellItem* shell_item, string16* url) { +HRESULT GetUrlFromShellItem(IShellItem* shell_item, base::string16* url) { DCHECK(shell_item); DCHECK(url); // First attempt to get the url from the underlying IDataObject if any. This @@ -329,12 +329,12 @@ STDMETHODIMP CommandExecuteImpl::Execute() { BrowserDistribution* distribution = BrowserDistribution::GetDistribution(); bool is_per_user_install = InstallUtil::IsPerUserInstall( chrome_exe_.value().c_str()); - string16 app_id = ShellUtil::GetBrowserModelId( + base::string16 app_id = ShellUtil::GetBrowserModelId( distribution, is_per_user_install); DWORD pid = 0; if (launch_scheme_ == INTERNET_SCHEME_FILE && - display_name_.find(installer::kChromeExe) != string16::npos) { + display_name_.find(installer::kChromeExe) != base::string16::npos) { AtlTrace("Activating for file\n"); hr = activation_manager->ActivateApplication(app_id.c_str(), verb_.c_str(), @@ -415,7 +415,7 @@ bool CommandExecuteImpl::FindChromeExe(base::FilePath* chrome_exe) { } bool CommandExecuteImpl::GetLaunchScheme( - string16* display_name, INTERNET_SCHEME* scheme) { + base::string16* display_name, INTERNET_SCHEME* scheme) { if (!item_array_) return false; @@ -465,7 +465,7 @@ bool CommandExecuteImpl::GetLaunchScheme( HRESULT CommandExecuteImpl::LaunchDesktopChrome() { AtlTrace("In %hs\n", __FUNCTION__); - string16 display_name = display_name_; + base::string16 display_name = display_name_; switch (launch_scheme_) { case INTERNET_SCHEME_FILE: @@ -473,7 +473,7 @@ HRESULT CommandExecuteImpl::LaunchDesktopChrome() { // should honor it. For e.g. If the user clicks on a html file when // chrome is the default we should treat it as a parameter to be passed // to chrome. - if (display_name.find(installer::kChromeExe) != string16::npos) + if (display_name.find(installer::kChromeExe) != base::string16::npos) display_name.clear(); break; @@ -484,7 +484,7 @@ HRESULT CommandExecuteImpl::LaunchDesktopChrome() { CommandLine chrome( delegate_execute::MakeChromeCommandLine(chrome_exe_, parameters_, display_name)); - string16 command_line(chrome.GetCommandLineString()); + base::string16 command_line(chrome.GetCommandLineString()); AtlTrace("Formatted command line is %ls\n", command_line.c_str()); |