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

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

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.h
diff --git a/chrome/browser/sync/test/fake_extensions_activity_monitor.h b/chrome/browser/sync/test/fake_extensions_activity_monitor.h
deleted file mode 100644
index d4938e6ea68e042e6fd2d3d21896e3b2758b22c8..0000000000000000000000000000000000000000
--- a/chrome/browser/sync/test/fake_extensions_activity_monitor.h
+++ /dev/null
@@ -1,33 +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.
-
-#ifndef CHROME_BROWSER_SYNC_TEST_FAKE_EXTENSIONS_ACTIVITY_MONITOR_H_
-#define CHROME_BROWSER_SYNC_TEST_FAKE_EXTENSIONS_ACTIVITY_MONITOR_H_
-#pragma once
-
-#include "base/compiler_specific.h"
-#include "base/threading/non_thread_safe.h"
-#include "chrome/browser/sync/util/extensions_activity_monitor.h"
-
-namespace browser_sync {
-
-// Fake non-thread-safe implementation of ExtensionsActivityMonitor
-// suitable to be used in single-threaded sync tests.
-class FakeExtensionsActivityMonitor : public ExtensionsActivityMonitor {
- public:
- FakeExtensionsActivityMonitor();
- virtual ~FakeExtensionsActivityMonitor();
-
- // ExtensionsActivityMonitor implementation.
- virtual void GetAndClearRecords(Records* buffer) OVERRIDE;
- virtual void PutRecords(const Records& records) OVERRIDE;
-
- private:
- Records records_;
- base::NonThreadSafe non_thread_safe_;
-};
-
-} // namespace browser_sync
-
-#endif // CHROME_BROWSER_SYNC_TEST_FAKE_EXTENSIONS_ACTIVITY_MONITOR_H_
« no previous file with comments | « chrome/browser/sync/test/fake_encryptor.cc ('k') | chrome/browser/sync/test/fake_extensions_activity_monitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698