mirror of
https://github.com/imputnet/helium.git
synced 2026-08-20 00:57:32 +02:00
Remove NOTREACHED
This commit is contained in:
@@ -39,12 +39,11 @@
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -25,6 +29,11 @@ bool MachineIdProvider::HasId() {
|
||||
@@ -25,6 +29,10 @@ bool MachineIdProvider::HasId() {
|
||||
// is running from.
|
||||
// static
|
||||
std::string MachineIdProvider::GetMachineId() {
|
||||
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch("disable-machine-id")) {
|
||||
+ NOTREACHED();
|
||||
+ return std::string();
|
||||
+ }
|
||||
+
|
||||
|
||||
Reference in New Issue
Block a user