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

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

Issue 2452713003: [Sync] Implement MemoryDumpProvider. (Closed)
Patch Set: Fix presumit; fix Windows; git cl format Created 4 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
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 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after
1013 scheduler_->ScheduleClearServerData(params); 1013 scheduler_->ScheduleClearServerData(params);
1014 } 1014 }
1015 1015
1016 void SyncManagerImpl::OnCookieJarChanged(bool account_mismatch, 1016 void SyncManagerImpl::OnCookieJarChanged(bool account_mismatch,
1017 bool empty_jar) { 1017 bool empty_jar) {
1018 DCHECK(thread_checker_.CalledOnValidThread()); 1018 DCHECK(thread_checker_.CalledOnValidThread());
1019 cycle_context_->set_cookie_jar_mismatch(account_mismatch); 1019 cycle_context_->set_cookie_jar_mismatch(account_mismatch);
1020 cycle_context_->set_cookie_jar_empty(empty_jar); 1020 cycle_context_->set_cookie_jar_empty(empty_jar);
1021 } 1021 }
1022 1022
1023 void SyncManagerImpl::OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd) {
1024 directory()->OnMemoryDump(pmd);
1025 }
1026
1023 } // namespace syncer 1027 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/engine_impl/sync_manager_impl.h ('k') | components/sync/protocol/proto_memory_estimations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698