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

Unified Diff: rlz/win/lib/rlz_value_store_registry.h

Issue 10642009: Add a regenerate button to regenerate the password in Windows. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Sync and Merge. Created 8 years, 6 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 | « rlz/win/lib/rlz_lib_win.cc ('k') | rlz/win/lib/rlz_value_store_registry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: rlz/win/lib/rlz_value_store_registry.h
diff --git a/rlz/win/lib/rlz_value_store_registry.h b/rlz/win/lib/rlz_value_store_registry.h
deleted file mode 100644
index c7fae46a347e3770224bc21efcba66304a5bb7ba..0000000000000000000000000000000000000000
--- a/rlz/win/lib/rlz_value_store_registry.h
+++ /dev/null
@@ -1,55 +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 RLZ_WIN_LIB_RLZ_VALUE_STORE_REGISTRY_H_
-#define RLZ_WIN_LIB_RLZ_VALUE_STORE_REGISTRY_H_
-
-#include "base/compiler_specific.h"
-#include "rlz/lib/rlz_value_store.h"
-
-namespace rlz_lib {
-
-// Implements RlzValueStore by storing values in the windows registry.
-class RlzValueStoreRegistry : public RlzValueStore {
- public:
- static std::wstring GetWideLibKeyName();
-
- virtual bool HasAccess(AccessType type) OVERRIDE;
-
- virtual bool WritePingTime(Product product, int64 time) OVERRIDE;
- virtual bool ReadPingTime(Product product, int64* time) OVERRIDE;
- virtual bool ClearPingTime(Product product) OVERRIDE;
-
- virtual bool WriteAccessPointRlz(AccessPoint access_point,
- const char* new_rlz) OVERRIDE;
- virtual bool ReadAccessPointRlz(AccessPoint access_point,
- char* rlz,
- size_t rlz_size) OVERRIDE;
- virtual bool ClearAccessPointRlz(AccessPoint access_point) OVERRIDE;
-
- virtual bool AddProductEvent(Product product, const char* event_rlz) OVERRIDE;
- virtual bool ReadProductEvents(Product product,
- std::vector<std::string>* events) OVERRIDE;
- virtual bool ClearProductEvent(Product product,
- const char* event_rlz) OVERRIDE;
- virtual bool ClearAllProductEvents(Product product) OVERRIDE;
-
- virtual bool AddStatefulEvent(Product product,
- const char* event_rlz) OVERRIDE;
- virtual bool IsStatefulEvent(Product product,
- const char* event_rlz) OVERRIDE;
- virtual bool ClearAllStatefulEvents(Product product) OVERRIDE;
-
- virtual void CollectGarbage() OVERRIDE;
-
- private:
- RlzValueStoreRegistry() {}
- DISALLOW_COPY_AND_ASSIGN(RlzValueStoreRegistry);
- friend class ScopedRlzValueStoreLock;
-};
-
-} // namespace rlz_lib
-
-#endif // RLZ_WIN_LIB_RLZ_VALUE_STORE_REGISTRY_H_
-
« no previous file with comments | « rlz/win/lib/rlz_lib_win.cc ('k') | rlz/win/lib/rlz_value_store_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698