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

Unified Diff: chrome/browser/prefs/tracked/device_id_stub.cc

Issue 836703005: Add a new function for getting a deterministic machine ID (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 5 years, 11 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
Index: chrome/browser/prefs/tracked/device_id_stub.cc
diff --git a/build/android/pylib/remote/device/dummy/src/org/chromium/dummy/Dummy.java b/chrome/browser/prefs/tracked/device_id_stub.cc
similarity index 50%
copy from build/android/pylib/remote/device/dummy/src/org/chromium/dummy/Dummy.java
copy to chrome/browser/prefs/tracked/device_id_stub.cc
index 1281b39586e399c3103b5f2ab3ca1f3fab26d182..85440ce907435aee63716d67dfd222a778aa9a97 100644
--- a/build/android/pylib/remote/device/dummy/src/org/chromium/dummy/Dummy.java
+++ b/chrome/browser/prefs/tracked/device_id_stub.cc
@@ -2,8 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-package org.chromium.dummy;
gab 2015/01/20 15:34:12 You can use git cl upload --similarity=100 in orde
alito 2015/01/26 16:32:48 Acknowledged.
+#include "device_id.h"
-/** Does nothing. */
-class Dummy {}
+bool GetDeterministicMachineSpecificId(std::string *machine_id) {
+ if (!machine_id)
+ return false;
+ machine_id->clear();
+
+ return false;
gab 2015/01/20 15:34:12 I think this should just return false (or the enum
alito 2015/01/26 16:32:48 Done.
+}

Powered by Google App Engine
This is Rietveld 408576698