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

Unified Diff: rlz/lib/machine_id.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/lib/lib_values_unittest.cc ('k') | rlz/lib/machine_id.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: rlz/lib/machine_id.h
diff --git a/rlz/lib/machine_id.h b/rlz/lib/machine_id.h
deleted file mode 100644
index 3ec48880e0c754408abbef04651d22fd77329f47..0000000000000000000000000000000000000000
--- a/rlz/lib/machine_id.h
+++ /dev/null
@@ -1,34 +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_LIB_MACHINE_ID_H_
-#define RLZ_LIB_MACHINE_ID_H_
-
-#include "base/string16.h"
-
-#include <string>
-
-namespace rlz_lib {
-
-// Gets the unique ID for the machine used for RLZ tracking purposes. On
-// Windows, this ID is derived from the Windows machine SID, and is the string
-// representation of a 20 byte hash + 4 bytes volum id + a 1 byte checksum.
-// Included in financial pings with events, unless explicitly forbidden by the
-// calling application.
-bool GetMachineId(std::string* machine_id);
-
-// Retrieves a raw machine identifier string and a machine-specific
-// 4 byte value. GetMachineId() will SHA1 |data|, append |more_data|, compute
-// the Crc8 of that, and return a hex-encoded string of that data.
-bool GetRawMachineId(string16* data, int* more_data);
-
-namespace testing {
-bool GetMachineIdImpl(const string16& sid_string,
- int volume_id,
- std::string* machine_id);
-} // namespace testing
-
-} // namespace rlz_lib
-
-#endif // RLZ_LIB_MACHINE_ID_H_
« no previous file with comments | « rlz/lib/lib_values_unittest.cc ('k') | rlz/lib/machine_id.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698