Commit 1d753141 authored by tony@chromium.org's avatar tony@chromium.org

Remove wstrings that aren't used from browser.h and browser_process.h.

This is from the old user data dir multi profile thingy that was removed ages
ago.

BUG=23581

Review URL: http://codereview.chromium.org/7497050

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96236 0039d316-1c4b-4281-b951-d872f2087c98
parent fe2806ee
......@@ -185,11 +185,6 @@ class BrowserProcess {
virtual DownloadStatusUpdater* download_status_updater() = 0;
// Returns a reference to the user-data-dir based profiles vector.
std::vector<std::wstring>& user_data_dir_profiles() {
return user_data_dir_profiles_;
}
// Returns the object that watches for changes in the closeable state of tab.
virtual TabCloseableStateWatcher* tab_closeable_state_watcher() = 0;
......@@ -250,9 +245,6 @@ class BrowserProcess {
virtual ComponentUpdateService* component_updater() = 0;
private:
// User-data-dir based profiles.
std::vector<std::wstring> user_data_dir_profiles_;
// Used for testing plugin data removal at shutdown.
std::string plugin_data_remover_mime_type_;
......
......@@ -523,15 +523,6 @@ void Browser::InitBrowserWindow() {
///////////////////////////////////////////////////////////////////////////////
// Getters & Setters
const std::vector<std::wstring>& Browser::user_data_dir_profiles() const {
return g_browser_process->user_data_dir_profiles();
}
void Browser::set_user_data_dir_profiles(
const std::vector<std::wstring>& profiles) {
g_browser_process->user_data_dir_profiles() = profiles;
}
FindBarController* Browser::GetFindBarController() {
if (!find_bar_controller_.get()) {
FindBar* find_bar = window_->CreateFindBar();
......
......@@ -189,7 +189,6 @@ class Browser : public TabHandlerDelegate,
Type type() const { return type_; }
const std::string& app_name() const { return app_name_; }
Profile* profile() const { return profile_; }
const std::vector<std::wstring>& user_data_dir_profiles() const;
gfx::Rect override_bounds() const { return override_bounds_; }
// Returns the InstantController or NULL if there is no InstantController for
......@@ -230,10 +229,6 @@ class Browser : public TabHandlerDelegate,
// Returns the state of the bookmark bar.
BookmarkBar::State bookmark_bar_state() const { return bookmark_bar_state_; }
// Setters /////////////////////////////////////////////////////////////////
void set_user_data_dir_profiles(const std::vector<std::wstring>& profiles);
// Browser Creation Helpers /////////////////////////////////////////////////
// Opens a new window with the default blank tab.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment