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

Side by Side Diff: chrome/browser/sync/glue/theme_util.cc

Issue 3037044: FBTF: Remove unneeded headers from base/ (part 3) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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/glue/extension_util_unittest.cc ('k') | chrome/browser/upgrade_detector.cc » ('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) 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 #include "chrome/browser/sync/glue/theme_util.h" 5 #include "chrome/browser/sync/glue/theme_util.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
11 #include "base/version.h"
12 #include "chrome/browser/extensions/extension_install_ui.h" 11 #include "chrome/browser/extensions/extension_install_ui.h"
13 #include "chrome/browser/extensions/extension_updater.h" 12 #include "chrome/browser/extensions/extension_updater.h"
14 #include "chrome/browser/extensions/extensions_service.h" 13 #include "chrome/browser/extensions/extensions_service.h"
15 #if defined(TOOLKIT_USES_GTK) 14 #if defined(TOOLKIT_USES_GTK)
16 #include "chrome/browser/gtk/gtk_theme_provider.h" 15 #include "chrome/browser/gtk/gtk_theme_provider.h"
17 #endif 16 #endif
18 #include "chrome/browser/pref_service.h" 17 #include "chrome/browser/pref_service.h"
19 #include "chrome/browser/profile.h" 18 #include "chrome/browser/profile.h"
20 #include "chrome/browser/sync/protocol/theme_specifics.pb.h" 19 #include "chrome/browser/sync/protocol/theme_specifics.pb.h"
21 #include "chrome/common/extensions/extension.h" 20 #include "chrome/common/extensions/extension.h"
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 const sync_pb::ThemeSpecifics& theme_specifics, Profile* profile) { 213 const sync_pb::ThemeSpecifics& theme_specifics, Profile* profile) {
215 DCHECK(profile); 214 DCHECK(profile);
216 sync_pb::ThemeSpecifics old_theme_specifics; 215 sync_pb::ThemeSpecifics old_theme_specifics;
217 GetThemeSpecificsFromCurrentTheme(profile, &old_theme_specifics); 216 GetThemeSpecificsFromCurrentTheme(profile, &old_theme_specifics);
218 if (!AreThemeSpecificsEqual(old_theme_specifics, theme_specifics)) { 217 if (!AreThemeSpecificsEqual(old_theme_specifics, theme_specifics)) {
219 SetCurrentThemeFromThemeSpecifics(theme_specifics, profile); 218 SetCurrentThemeFromThemeSpecifics(theme_specifics, profile);
220 } 219 }
221 } 220 }
222 221
223 } // namespace browser_sync 222 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/extension_util_unittest.cc ('k') | chrome/browser/upgrade_detector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698