Index: chrome/common/secure_origin_whitelist.cc |
diff --git a/chrome/common/secure_origin_whitelist.cc b/chrome/common/secure_origin_whitelist.cc |
index 030151272b9d090e16cfa72953b54621d53c60f1..26572b61cee5f24f5a6605978348c8dc196514e8 100644 |
--- a/chrome/common/secure_origin_whitelist.cc |
+++ b/chrome/common/secure_origin_whitelist.cc |
@@ -4,14 +4,12 @@ |
#include "chrome/common/secure_origin_whitelist.h" |
-#include <vector> |
- |
#include "base/command_line.h" |
#include "base/strings/string_split.h" |
#include "chrome/common/chrome_switches.h" |
#include "extensions/common/constants.h" |
-void GetSecureOriginWhitelist(std::set<GURL>* origins) { |
+void GetSecureOriginWhitelist(std::vector<std::string>* origins) { |
// If kUnsafelyTreatInsecureOriginAsSecure option is given and |
// kUserDataDir is present, add the given origins as trustworthy |
// for whitelisting. |
@@ -23,7 +21,7 @@ void GetSecureOriginWhitelist(std::set<GURL>* origins) { |
switches::kUnsafelyTreatInsecureOriginAsSecure); |
for (const std::string& origin : base::SplitString( |
origins_str, ",", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL)) |
- origins->insert(GURL(origin)); |
+ origins->push_back(origin); |
} |
} |