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

Unified Diff: chrome/common/extensions/wifi_credentials.mojom

Issue 2610953003: Convert utility process WiFi Credentials IPC to mojo (Closed)
Patch Set: Delete the credentials getter_ early in the browser test. Created 3 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/common/extensions/wifi_credentials.mojom
diff --git a/chrome/common/extensions/wifi_credentials.mojom b/chrome/common/extensions/wifi_credentials.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..ba50c86ce612805468ed0c943c201022a6b5608a
--- /dev/null
+++ b/chrome/common/extensions/wifi_credentials.mojom
@@ -0,0 +1,15 @@
+// Copyright 2017 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.
+
+// WiFi credentials interface provided by the utility process and exposed
+// by mojo policy control to the chrome browser process on OS_WIN.
+
+module extensions.mojom;
+
+interface WiFiCredentials {
Sam McNally 2017/01/16 04:16:20 WifiCredentialsGetter?
Noel Gordon 2017/01/16 11:09:58 Done.
+ // OS_WIN: Get plain-text WiFi credentials from the system (requires UAC
+ // privilege elevation). Returns |success| false if an error occurred or
+ // |success| true and the result in |key_data|.
+ GetWiFiCredentials(string ssid) => (bool success, string key_data);
tibell 2017/01/16 03:34:01 Could we instead return a `string?` (which transla
Noel Gordon 2017/01/16 09:30:05 We could I suppose, but it would diverge from the
+};

Powered by Google App Engine
This is Rietveld 408576698