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

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

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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 #include "chrome/browser/sync/glue/theme_change_processor.h" 5 #include "chrome/browser/sync/glue/theme_change_processor.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/browser/profile.h" 8 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/browser/sync/engine/syncapi.h" 9 #include "chrome/browser/sync/engine/syncapi.h"
10 #include "chrome/browser/sync/glue/theme_util.h" 10 #include "chrome/browser/sync/glue/theme_util.h"
11 #include "chrome/browser/sync/protocol/theme_specifics.pb.h" 11 #include "chrome/browser/sync/protocol/theme_specifics.pb.h"
12 #include "chrome/browser/themes/browser_theme_provider.h" 12 #include "chrome/browser/themes/browser_theme_provider.h"
13 #include "chrome/common/extensions/extension.h" 13 #include "chrome/common/extensions/extension.h"
14 #include "chrome/common/notification_details.h" 14 #include "chrome/common/notification_details.h"
15 #include "chrome/common/notification_source.h" 15 #include "chrome/common/notification_source.h"
16 16
17 namespace browser_sync { 17 namespace browser_sync {
18 18
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 Source<Profile>(profile_)); 206 Source<Profile>(profile_));
207 } 207 }
208 208
209 void ThemeChangeProcessor::StopObserving() { 209 void ThemeChangeProcessor::StopObserving() {
210 DCHECK(profile_); 210 DCHECK(profile_);
211 VLOG(1) << "Unobserving all notifications"; 211 VLOG(1) << "Unobserving all notifications";
212 notification_registrar_.RemoveAll(); 212 notification_registrar_.RemoveAll();
213 } 213 }
214 214
215 } // namespace browser_sync 215 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host.cc ('k') | chrome/browser/sync/glue/theme_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698