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

Side by Side Diff: components/sync/engine_impl/sync_manager_impl.cc

Issue 2452713003: [Sync] Implement MemoryDumpProvider. (Closed)
Patch Set: Created 4 years, 1 month 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "components/sync/engine_impl/sync_manager_impl.h" 5 #include "components/sync/engine_impl/sync_manager_impl.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <utility> 9 #include <utility>
10 10
(...skipping 983 matching lines...) Expand 10 before | Expand all | Expand 10 after
994 scheduler_->ScheduleClearServerData(params); 994 scheduler_->ScheduleClearServerData(params);
995 } 995 }
996 996
997 void SyncManagerImpl::OnCookieJarChanged(bool account_mismatch, 997 void SyncManagerImpl::OnCookieJarChanged(bool account_mismatch,
998 bool empty_jar) { 998 bool empty_jar) {
999 DCHECK(thread_checker_.CalledOnValidThread()); 999 DCHECK(thread_checker_.CalledOnValidThread());
1000 cycle_context_->set_cookie_jar_mismatch(account_mismatch); 1000 cycle_context_->set_cookie_jar_mismatch(account_mismatch);
1001 cycle_context_->set_cookie_jar_empty(empty_jar); 1001 cycle_context_->set_cookie_jar_empty(empty_jar);
1002 } 1002 }
1003 1003
1004 void SyncManagerImpl::OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd) {
1005 directory()->OnMemoryDump(pmd);
1006 }
1007
1004 } // namespace syncer 1008 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698