summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.h
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-11 03:02:51 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-11 03:02:51 +0000
commit57ecc4bf4069cb869e5fb0a7d922eec2384bac25 (patch)
tree1b4668fa59d6b6a072144b4ddab8d5f6faba3fa4 /chrome/browser/browser.h
parent1af19cfd7b1ef9924516dbe811db495315feaefe (diff)
downloadchromium_src-57ecc4bf4069cb869e5fb0a7d922eec2384bac25.zip
chromium_src-57ecc4bf4069cb869e5fb0a7d922eec2384bac25.tar.gz
chromium_src-57ecc4bf4069cb869e5fb0a7d922eec2384bac25.tar.bz2
Make prefs use std::string for keys rather than wstrings.
Much remains to be converted. BUG=23581 TEST=builds and passes tests Review URL: http://codereview.chromium.org/3076037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55660 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.h')
-rw-r--r--chrome/browser/browser.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h
index 4a7c9fa..1041735 100644
--- a/chrome/browser/browser.h
+++ b/chrome/browser/browser.h
@@ -126,7 +126,7 @@ class Browser : public TabStripModelDelegate,
// app. |app_name| is required and is used to identify the window to the
// shell. |extension| is optional. If supplied, we create a window with
// a bigger icon and title text, that supports tabs.
- static Browser* CreateForApp(const std::wstring& app_name,
+ static Browser* CreateForApp(const std::string& app_name,
Extension* extension,
Profile* profile,
bool is_panel);
@@ -261,7 +261,7 @@ class Browser : public TabStripModelDelegate,
// State Storage and Retrieval for UI ///////////////////////////////////////
// Save and restore the window position.
- std::wstring GetWindowPlacementKey() const;
+ std::string GetWindowPlacementKey() const;
bool ShouldSaveWindowPlacement() const;
void SaveWindowPlacement(const gfx::Rect& bounds, bool maximized);
gfx::Rect GetSavedWindowBounds() const;
@@ -901,7 +901,7 @@ class Browser : public TabStripModelDelegate,
// Create a preference dictionary for the provided application name. This is
// done only once per application name / per session.
- static void RegisterAppPrefs(const std::wstring& app_name);
+ static void RegisterAppPrefs(const std::string& app_name);
// Shared code between Reload() and ReloadIgnoringCache().
void ReloadInternal(WindowOpenDisposition disposition, bool ignore_cache);
@@ -969,7 +969,7 @@ class Browser : public TabStripModelDelegate,
// An optional application name which is used to retrieve and save window
// positions.
- std::wstring app_name_;
+ std::string app_name_;
// Unique identifier of this browser for session restore. This id is only
// unique within the current session, and is not guaranteed to be unique