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

Unified Diff: chrome/browser/sync/sync_ui_util_mac_unittest.mm

Issue 9456031: Remove PSS::ShowLoginDialog() and obsolete IDC_SYNC_BOOKMARKS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed review feedback. Created 8 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/sync/sync_ui_util.cc ('k') | chrome/browser/ui/browser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/sync_ui_util_mac_unittest.mm
diff --git a/chrome/browser/sync/sync_ui_util_mac_unittest.mm b/chrome/browser/sync/sync_ui_util_mac_unittest.mm
index 7c073fed773056979b9f98d924c1dd2d247717bf..b9ddc9c6e83f00cd42c2b1c1ce4482edb2e742cd 100644
--- a/chrome/browser/sync/sync_ui_util_mac_unittest.mm
+++ b/chrome/browser/sync/sync_ui_util_mac_unittest.mm
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -26,7 +26,7 @@ TEST_F(SyncStatusUIHelperMacTest, UpdateSyncItem) {
[[NSMenuItem alloc] initWithTitle:@""
action:@selector(commandDispatch)
keyEquivalent:@""]);
- [syncMenuItem setTag:IDC_SYNC_BOOKMARKS];
+ [syncMenuItem setTag:IDC_SHOW_SYNC_SETUP];
std::string userName = "foo@example.com";
@@ -72,7 +72,7 @@ TEST_F(SyncStatusUIHelperMacTest, UpdateSyncItemWithSeparator) {
[menu addItemWithTitle:@""
action:@selector(commandDispatch)
keyEquivalent:@""];
- [syncMenuItem setTag:IDC_SYNC_BOOKMARKS];
+ [syncMenuItem setTag:IDC_SHOW_SYNC_SETUP];
NSMenuItem* followingSeparator = [NSMenuItem separatorItem];
[menu addItem:followingSeparator];
@@ -99,7 +99,7 @@ TEST_F(SyncStatusUIHelperMacTest, UpdateSyncItemWithNonSeparator) {
[menu addItemWithTitle:@""
action:@selector(commandDispatch)
keyEquivalent:@""];
- [syncMenuItem setTag:IDC_SYNC_BOOKMARKS];
+ [syncMenuItem setTag:IDC_SHOW_SYNC_SETUP];
NSMenuItem* followingNonSeparator =
[menu addItemWithTitle:@""
action:@selector(commandDispatch)
« no previous file with comments | « chrome/browser/sync/sync_ui_util.cc ('k') | chrome/browser/ui/browser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698