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

Unified Diff: chrome/browser/sync/test/fake_extensions_activity_monitor.cc

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/test/fake_extensions_activity_monitor.cc
diff --git a/chrome/browser/sync/test/fake_extensions_activity_monitor.cc b/chrome/browser/sync/test/fake_extensions_activity_monitor.cc
deleted file mode 100644
index bf98dac820cf32a9ae17390bf9bc0bb9c73200af..0000000000000000000000000000000000000000
--- a/chrome/browser/sync/test/fake_extensions_activity_monitor.cc
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/sync/test/fake_extensions_activity_monitor.h"
-
-#include "base/logging.h"
-
-namespace browser_sync {
-
-FakeExtensionsActivityMonitor::FakeExtensionsActivityMonitor() {}
-
-FakeExtensionsActivityMonitor::~FakeExtensionsActivityMonitor() {
- DCHECK(non_thread_safe_.CalledOnValidThread());
-}
-
-void FakeExtensionsActivityMonitor::GetAndClearRecords(Records* buffer) {
- DCHECK(non_thread_safe_.CalledOnValidThread());
- buffer->clear();
- buffer->swap(records_);
-}
-
-void FakeExtensionsActivityMonitor::PutRecords(const Records& records) {
- DCHECK(non_thread_safe_.CalledOnValidThread());
- for (Records::const_iterator i = records.begin(); i != records.end(); ++i) {
- records_[i->first].extension_id = i->second.extension_id;
- records_[i->first].bookmark_write_count += i->second.bookmark_write_count;
- }
-}
-
-} // namespace browser_sync
« no previous file with comments | « chrome/browser/sync/test/fake_extensions_activity_monitor.h ('k') | chrome/browser/sync/test/integration/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698