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

Unified Diff: components/search/search.h

Issue 593113002: Reusing the base::StringPairs in src/components/* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « components/policy/core/common/cloud/device_management_service_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/search/search.h
diff --git a/components/search/search.h b/components/search/search.h
index 6cc792772502ef5bd415e4a0279c1bd18f37eb3c..9558ee8b95b17165be9818ae8d07f8208f0e2061 100644
--- a/components/search/search.h
+++ b/components/search/search.h
@@ -11,6 +11,7 @@
#include "base/basictypes.h"
#include "base/strings/string16.h"
+#include "base/strings/string_split.h"
namespace chrome {
@@ -23,7 +24,7 @@ bool IsInstantExtendedAPIEnabled();
uint64 EmbeddedSearchPageVersion();
// Type for a collection of experiment configuration parameters.
-typedef std::vector<std::pair<std::string, std::string> > FieldTrialFlags;
+typedef base::StringPairs FieldTrialFlags;
// Finds the active field trial group name and parses out the configuration
// flags. On success, |flags| will be filled with the field trial flags. |flags|
« no previous file with comments | « components/policy/core/common/cloud/device_management_service_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698