OLD | NEW |
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 #include "chrome/browser/sync/glue/extension_change_processor.h" | 5 #include "chrome/browser/sync/glue/extension_change_processor.h" |
6 | 6 |
7 #include <sstream> | 7 #include <sstream> |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 } | 181 } |
182 | 182 |
183 void ExtensionChangeProcessor::StopObserving() { | 183 void ExtensionChangeProcessor::StopObserving() { |
184 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); | 184 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
185 DCHECK(profile_); | 185 DCHECK(profile_); |
186 VLOG(1) << "Unobserving all notifications"; | 186 VLOG(1) << "Unobserving all notifications"; |
187 notification_registrar_.RemoveAll(); | 187 notification_registrar_.RemoveAll(); |
188 } | 188 } |
189 | 189 |
190 } // namespace browser_sync | 190 } // namespace browser_sync |
OLD | NEW |