summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views
diff options
context:
space:
mode:
authortim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-15 01:43:53 +0000
committertim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-15 01:43:53 +0000
commit0c875075a6c45e9979b8345e5f5f9d4b747e05c3 (patch)
treecbd25cd83e7fda80ecd948cb9d60cdc38ecc6e81 /chrome/browser/views
parent3184cba4196ffe82c2352e46136372420bdaf36c (diff)
downloadchromium_src-0c875075a6c45e9979b8345e5f5f9d4b747e05c3.zip
chromium_src-0c875075a6c45e9979b8345e5f5f9d4b747e05c3.tar.gz
chromium_src-0c875075a6c45e9979b8345e5f5f9d4b747e05c3.tar.bz2
Signature changed to take a Profile*
Review URL: http://codereview.chromium.org/113439 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16140 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views')
-rw-r--r--chrome/browser/views/options/options_window_view.cc2
-rw-r--r--chrome/browser/views/toolbar_view.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/views/options/options_window_view.cc b/chrome/browser/views/options/options_window_view.cc
index 6bdd1f0..b3cbe66 100644
--- a/chrome/browser/views/options/options_window_view.cc
+++ b/chrome/browser/views/options/options_window_view.cc
@@ -203,7 +203,7 @@ void OptionsWindowView::Init() {
content_page, false);
#ifdef CHROME_PERSONALIZATION
- if (!Personalization::IsP13NDisabled()) {
+ if (!Personalization::IsP13NDisabled(profile_)) {
UserDataPageView* user_data_page = new UserDataPageView(profile_);
tabs_->AddTabAtIndex(tab_index++,
l10n_util::GetString(IDS_OPTIONS_USER_DATA_TAB_LABEL),
diff --git a/chrome/browser/views/toolbar_view.cc b/chrome/browser/views/toolbar_view.cc
index 5162b98..f1ae818 100644
--- a/chrome/browser/views/toolbar_view.cc
+++ b/chrome/browser/views/toolbar_view.cc
@@ -685,7 +685,7 @@ void BrowserToolbarView::RunAppMenu(const gfx::Point& pt, HWND hwnd) {
l10n_util::GetString(IDS_SHOW_DOWNLOADS));
menu->AppendSeparator();
#ifdef CHROME_PERSONALIZATION
- if (!Personalization::IsP13NDisabled()) {
+ if (!Personalization::IsP13NDisabled(profile_)) {
menu->AppendMenuItemWithLabel(IDC_P13N_INFO,
Personalization::GetMenuItemInfoText(browser()));
}