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

Unified Diff: extensions/browser/api/vpn_provider/vpn_service.h

Issue 820673004: json_schema_compiler: Use std::vector<char> for binary values. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@simplify_json_schema
Patch Set: Fix merge error. 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
« no previous file with comments | « extensions/browser/api/usb/usb_api.cc ('k') | extensions/browser/api/vpn_provider/vpn_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/vpn_provider/vpn_service.h
diff --git a/extensions/browser/api/vpn_provider/vpn_service.h b/extensions/browser/api/vpn_provider/vpn_service.h
index 25c4355e7f9f5499ccd8bdd5520103fac10d1379..024430f327bcfb97f19dbf933d36897e347b3e69 100644
--- a/extensions/browser/api/vpn_provider/vpn_service.h
+++ b/extensions/browser/api/vpn_provider/vpn_service.h
@@ -2,11 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_CHROMEOS_VPN_VPN_SERVICE_H_
-#define CHROME_BROWSER_CHROMEOS_VPN_VPN_SERVICE_H_
+#ifndef EXTENSIONS_BROWSER_API_VPN_PROVIDER_VPN_SERVICE_H_
+#define EXTENSIONS_BROWSER_API_VPN_PROVIDER_VPN_SERVICE_H_
#include <map>
#include <string>
+#include <vector>
#include "base/callback.h"
#include "base/macros.h"
@@ -119,7 +120,7 @@ class VpnService : public KeyedService,
// after verifying that it belongs to the extension with id |extension_id|.
// Calls |success| or |failure| based on the outcome.
void SendPacket(const std::string& extension_id,
- const std::string& data,
+ const std::vector<char>& data,
const SuccessCallback& success,
const FailureCallback& failure);
@@ -214,4 +215,4 @@ class VpnService : public KeyedService,
} // namespace chromeos
-#endif // CHROME_BROWSER_CHROMEOS_VPN_VPN_SERVICE_H_
+#endif // EXTENSIONS_BROWSER_API_VPN_PROVIDER_VPN_SERVICE_H_
« no previous file with comments | « extensions/browser/api/usb/usb_api.cc ('k') | extensions/browser/api/vpn_provider/vpn_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698