Revert 168224 - Update V8 to version 3.15.4.
[chromium-blink-merge.git] / chrome / browser / sync / sync_ui_util_mac.h
blob09f63a16c2c91c27dd737735180e26621354d4c0
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_SYNC_SYNC_UI_UTIL_MAC_H_
6 #define CHROME_BROWSER_SYNC_SYNC_UI_UTIL_MAC_H_
8 #include <string>
10 #include "chrome/browser/sync/sync_ui_util.h"
12 #import <Cocoa/Cocoa.h>
14 class Profile;
16 namespace sync_ui_util {
18 // Updates a bookmark sync UI item (expected to be a menu item). This is
19 // called every time a menu containing a sync UI item is displayed.
20 void UpdateSyncItem(id syncItem, BOOL syncEnabled, Profile* profile);
22 // This function (used by UpdateSyncItem) is only exposed for testing.
23 // Just use UpdateSyncItem() instead.
24 void UpdateSyncItemForStatus(id syncItem, BOOL syncEnabled,
25 sync_ui_util::MessageType status,
26 const std::string& userName);
28 } // namespace sync_ui_util
30 #endif // CHROME_BROWSER_SYNC_SYNC_UI_UTIL_MAC_H_