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

Unified Diff: chrome/browser/chromeos/mock_system_access.h

Issue 7324017: Split SystemAccess into TimezoneSettings, StatisticsProvider, and SyslogsProvider. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 9 years, 5 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
« no previous file with comments | « chrome/browser/chromeos/login/helper.cc ('k') | chrome/browser/chromeos/mock_system_access.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/mock_system_access.h
diff --git a/chrome/browser/chromeos/mock_system_access.h b/chrome/browser/chromeos/mock_system_access.h
deleted file mode 100644
index 4d30e86eae51fbe93a0826337f0eed6f59dd5acf..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/mock_system_access.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright (c) 2011 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_CHROMEOS_MOCK_SYSTEM_ACCESS_H_
-#define CHROME_BROWSER_CHROMEOS_MOCK_SYSTEM_ACCESS_H_
-#pragma once
-
-#include "base/basictypes.h"
-#include "chrome/browser/chromeos/system_access.h"
-#include "testing/gmock/include/gmock/gmock.h"
-
-namespace chromeos {
-
-class MockSystemAccess : public SystemAccess {
- public:
- MockSystemAccess();
- virtual ~MockSystemAccess();
-
- MOCK_METHOD0(GetTimezone, const icu::TimeZone&());
- MOCK_METHOD1(SetTimezone, void(const icu::TimeZone& timezone));
- MOCK_METHOD2(GetMachineStatistic, bool(const std::string& name,
- std::string* result));
- MOCK_METHOD1(AddObserver, void(Observer* observer));
- MOCK_METHOD1(RemoveObserver, void(Observer* observer));
- MOCK_METHOD4(RequestSyslogs, Handle(bool compress_logs,
- SyslogsContext context,
- CancelableRequestConsumerBase* consumer,
- ReadCompleteCallback* callback));
-
- private:
- DISALLOW_COPY_AND_ASSIGN(MockSystemAccess);
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_MOCK_SYSTEM_ACCESS_H_
« no previous file with comments | « chrome/browser/chromeos/login/helper.cc ('k') | chrome/browser/chromeos/mock_system_access.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698