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

Side by Side Diff: chrome/browser/sync/sync_ui_util_mac.h

Issue 10689154: Remove #pragma once from chrome/browser/sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/sync/sync_ui_util.h ('k') | chrome/browser/sync/test/integration/apps_helper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_SYNC_SYNC_UI_UTIL_MAC_H_ 5 #ifndef CHROME_BROWSER_SYNC_SYNC_UI_UTIL_MAC_H_
6 #define CHROME_BROWSER_SYNC_SYNC_UI_UTIL_MAC_H_ 6 #define CHROME_BROWSER_SYNC_SYNC_UI_UTIL_MAC_H_
7 #pragma once
8 7
9 #include <string> 8 #include <string>
10 9
11 #include "chrome/browser/sync/sync_ui_util.h" 10 #include "chrome/browser/sync/sync_ui_util.h"
12 11
13 #import <Cocoa/Cocoa.h> 12 #import <Cocoa/Cocoa.h>
14 13
15 class Profile; 14 class Profile;
16 15
17 namespace sync_ui_util { 16 namespace sync_ui_util {
18 17
19 // Updates a bookmark sync UI item (expected to be a menu item). This is 18 // Updates a bookmark sync UI item (expected to be a menu item). This is
20 // called every time a menu containing a sync UI item is displayed. 19 // called every time a menu containing a sync UI item is displayed.
21 void UpdateSyncItem(id syncItem, BOOL syncEnabled, Profile* profile); 20 void UpdateSyncItem(id syncItem, BOOL syncEnabled, Profile* profile);
22 21
23 // This function (used by UpdateSyncItem) is only exposed for testing. 22 // This function (used by UpdateSyncItem) is only exposed for testing.
24 // Just use UpdateSyncItem() instead. 23 // Just use UpdateSyncItem() instead.
25 void UpdateSyncItemForStatus(id syncItem, BOOL syncEnabled, 24 void UpdateSyncItemForStatus(id syncItem, BOOL syncEnabled,
26 sync_ui_util::MessageType status, 25 sync_ui_util::MessageType status,
27 const std::string& userName); 26 const std::string& userName);
28 27
29 } // namespace sync_ui_util 28 } // namespace sync_ui_util
30 29
31 #endif // CHROME_BROWSER_SYNC_SYNC_UI_UTIL_MAC_H_ 30 #endif // CHROME_BROWSER_SYNC_SYNC_UI_UTIL_MAC_H_
32 31
OLDNEW
« no previous file with comments | « chrome/browser/sync/sync_ui_util.h ('k') | chrome/browser/sync/test/integration/apps_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698