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

Unified Diff: components/user_prefs/tracked/device_id.h

Issue 2782803002: Move tracked prefs into services/preferences/tracked. (Closed)
Patch Set: rebase Created 3 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
« no previous file with comments | « components/user_prefs/tracked/OWNERS ('k') | components/user_prefs/tracked/device_id_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/user_prefs/tracked/device_id.h
diff --git a/components/user_prefs/tracked/device_id.h b/components/user_prefs/tracked/device_id.h
deleted file mode 100644
index 2d6d1b8e8b6d0228d19e517ec115b57f4959c564..0000000000000000000000000000000000000000
--- a/components/user_prefs/tracked/device_id.h
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright 2015 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 COMPONENTS_USER_PREFS_TRACKED_DEVICE_ID_H_
-#define COMPONENTS_USER_PREFS_TRACKED_DEVICE_ID_H_
-
-#include <string>
-
-enum class MachineIdStatus {
- SUCCESS = 0,
- FAILURE, // Returned if attempt to obtain a machine-specific ID fails.
- NOT_IMPLEMENTED // Returned if the method for obtaining a machine-specific ID
- // is not implemented for the system.
-};
-
-// Populates |machine_id| with a deterministic ID for this machine. |machine_id|
-// must not be null. Returns |FAILURE| if a machine ID cannot be obtained or
-// |NOT_IMPLEMENTED| on systems for which this feature is not supported (in both
-// cases |machine_id| is left untouched).
-MachineIdStatus GetDeterministicMachineSpecificId(std::string* machine_id);
-
-#endif // COMPONENTS_USER_PREFS_TRACKED_DEVICE_ID_H_
« no previous file with comments | « components/user_prefs/tracked/OWNERS ('k') | components/user_prefs/tracked/device_id_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698