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

Side by Side Diff: prefs_mock.h

Issue 2856070: Don't send machine and user ID to Omaha anymore. Send a/r pings instead. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/update_engine.git
Patch Set: Address review comments. Created 10 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_PREFS_MOCK_H__
6 #define CHROMEOS_PLATFORM_UPDATE_ENGINE_PREFS_MOCK_H__
7
8 #include "gmock/gmock.h"
9 #include "update_engine/prefs_interface.h"
10
11 namespace chromeos_update_engine {
12
13 class PrefsMock : public PrefsInterface {
14 public:
15 MOCK_METHOD2(GetString, bool(const std::string& key, std::string* value));
16 MOCK_METHOD2(SetString, bool(const std::string& key,
17 const std::string& value));
18 MOCK_METHOD2(GetInt64, bool(const std::string& key, int64_t* value));
19 MOCK_METHOD2(SetInt64, bool(const std::string& key, const int64_t value));
20 };
21
22 } // namespace chromeos_update_engine
23
24 #endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_PREFS_MOCK_H__
OLDNEW
« omaha_request_action.h ('K') | « prefs_interface.h ('k') | prefs_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698