Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(591)

Side by Side Diff: chrome/browser/sync/sync_error_notifier_ash.cc

Issue 873033002: Cleanup: Remove unused blink::WebTextDirection parameter from Notification ctor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more fixes Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/sync/sync_error_notifier_ash.h" 5 #include "chrome/browser/sync/sync_error_notifier_ash.h"
6 6
7 #include "ash/shell.h" 7 #include "ash/shell.h"
8 #include "ash/shell_delegate.h" 8 #include "ash/shell_delegate.h"
9 #include "ash/system/system_notifier.h" 9 #include "ash/system/system_notifier.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 notifier_id.profile_id = multi_user_util::GetUserIDFromProfile(profile_); 168 notifier_id.profile_id = multi_user_util::GetUserIDFromProfile(profile_);
169 169
170 // Add a new notification. 170 // Add a new notification.
171 Notification notification( 171 Notification notification(
172 message_center::NOTIFICATION_TYPE_SIMPLE, 172 message_center::NOTIFICATION_TYPE_SIMPLE,
173 GURL(notification_id_), 173 GURL(notification_id_),
174 l10n_util::GetStringUTF16(IDS_SYNC_ERROR_BUBBLE_VIEW_TITLE), 174 l10n_util::GetStringUTF16(IDS_SYNC_ERROR_BUBBLE_VIEW_TITLE),
175 l10n_util::GetStringUTF16(IDS_SYNC_PASSPHRASE_ERROR_BUBBLE_VIEW_MESSAGE), 175 l10n_util::GetStringUTF16(IDS_SYNC_PASSPHRASE_ERROR_BUBBLE_VIEW_MESSAGE),
176 ui::ResourceBundle::GetSharedInstance().GetImageNamed( 176 ui::ResourceBundle::GetSharedInstance().GetImageNamed(
177 IDR_NOTIFICATION_ALERT), 177 IDR_NOTIFICATION_ALERT),
178 blink::WebTextDirectionDefault,
179 notifier_id, 178 notifier_id,
180 base::string16(), // display_source 179 base::string16(), // display_source
181 base::ASCIIToUTF16(notification_id_), 180 base::ASCIIToUTF16(notification_id_),
182 data, 181 data,
183 delegate); 182 delegate);
184 notification_ui_manager->Add(notification, profile_); 183 notification_ui_manager->Add(notification, profile_);
185 } 184 }
OLDNEW
« no previous file with comments | « chrome/browser/signin/signin_error_notifier_ash.cc ('k') | chrome/browser/ui/ash/chrome_screenshot_grabber.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698