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

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

Issue 6245006: Update references part 3: remaining files in chrome/...... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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) 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 #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 "chrome/browser/extensions/extension_install_ui.h" 11 #include "chrome/browser/extensions/extension_install_ui.h"
12 #include "chrome/browser/extensions/extension_service.h"
12 #include "chrome/browser/extensions/extension_updater.h" 13 #include "chrome/browser/extensions/extension_updater.h"
13 #include "chrome/browser/extensions/extension_service.h"
14 #if defined(TOOLKIT_USES_GTK) 14 #if defined(TOOLKIT_USES_GTK)
15 #include "chrome/browser/gtk/gtk_theme_provider.h" 15 #include "chrome/browser/ui/gtk/gtk_theme_provider.h"
16 #endif 16 #endif
17 #include "chrome/browser/profiles/profile.h" 17 #include "chrome/browser/profiles/profile.h"
18 #include "chrome/browser/sync/protocol/theme_specifics.pb.h" 18 #include "chrome/browser/sync/protocol/theme_specifics.pb.h"
19 #include "chrome/common/extensions/extension.h" 19 #include "chrome/common/extensions/extension.h"
20 #include "chrome/common/extensions/extension_constants.h" 20 #include "chrome/common/extensions/extension_constants.h"
21 #include "googleurl/src/gurl.h" 21 #include "googleurl/src/gurl.h"
22 22
23 namespace browser_sync { 23 namespace browser_sync {
24 24
25 const char kCurrentThemeClientTag[] = "current_theme"; 25 const char kCurrentThemeClientTag[] = "current_theme";
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 const sync_pb::ThemeSpecifics& theme_specifics, Profile* profile) { 217 const sync_pb::ThemeSpecifics& theme_specifics, Profile* profile) {
218 DCHECK(profile); 218 DCHECK(profile);
219 sync_pb::ThemeSpecifics old_theme_specifics; 219 sync_pb::ThemeSpecifics old_theme_specifics;
220 GetThemeSpecificsFromCurrentTheme(profile, &old_theme_specifics); 220 GetThemeSpecificsFromCurrentTheme(profile, &old_theme_specifics);
221 if (!AreThemeSpecificsEqual(old_theme_specifics, theme_specifics)) { 221 if (!AreThemeSpecificsEqual(old_theme_specifics, theme_specifics)) {
222 SetCurrentThemeFromThemeSpecifics(theme_specifics, profile); 222 SetCurrentThemeFromThemeSpecifics(theme_specifics, profile);
223 } 223 }
224 } 224 }
225 225
226 } // namespace browser_sync 226 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/speech/speech_input_bubble_gtk.cc ('k') | chrome/browser/tab_contents/interstitial_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698