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

Side by Side Diff: chrome/browser/sync/glue/theme_util.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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_GLUE_THEME_UTIL_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_THEME_UTIL_H_
6 #define CHROME_BROWSER_SYNC_GLUE_THEME_UTIL_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_THEME_UTIL_H_
7 #pragma once
8 7
9 class Profile; 8 class Profile;
10 9
11 namespace extensions { 10 namespace extensions {
12 class Extension; 11 class Extension;
13 } 12 }
14 13
15 namespace sync_pb { 14 namespace sync_pb {
16 class ThemeSpecifics; 15 class ThemeSpecifics;
17 } // sync_pb 16 } // sync_pb
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // Like SetCurrentThemeFromThemeSpecifics() except that in the case where 56 // Like SetCurrentThemeFromThemeSpecifics() except that in the case where
58 // |theme_specifics| uses the default theme and |profile| does not, the local 57 // |theme_specifics| uses the default theme and |profile| does not, the local
59 // data "wins" against the server's and |theme_specifics| is updated with the 58 // data "wins" against the server's and |theme_specifics| is updated with the
60 // custom theme. Returns true iff |theme_specifics| is updated. 59 // custom theme. Returns true iff |theme_specifics| is updated.
61 bool UpdateThemeSpecificsOrSetCurrentThemeIfNecessary( 60 bool UpdateThemeSpecificsOrSetCurrentThemeIfNecessary(
62 Profile* profile, sync_pb::ThemeSpecifics* theme_specifics); 61 Profile* profile, sync_pb::ThemeSpecifics* theme_specifics);
63 62
64 } // namespace browser_sync 63 } // namespace browser_sync
65 64
66 #endif // CHROME_BROWSER_SYNC_GLUE_THEME_UTIL_H_ 65 #endif // CHROME_BROWSER_SYNC_GLUE_THEME_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/theme_model_associator.h ('k') | chrome/browser/sync/glue/typed_url_change_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698