summaryrefslogtreecommitdiffstats
path: root/components/search
diff options
context:
space:
mode:
authorkulkarni.a <kulkarni.a@samsung.com>2014-09-30 01:54:01 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-30 08:55:55 +0000
commitdb60fc29b755f1cc3e7846497cb54222e3f391de (patch)
tree8ac79e5f16c40328a07e6ab154dc7ceafb4efa8d /components/search
parente372e4f4bbcb94a6ff427b337845ad452133e527 (diff)
downloadchromium_src-db60fc29b755f1cc3e7846497cb54222e3f391de.zip
chromium_src-db60fc29b755f1cc3e7846497cb54222e3f391de.tar.gz
chromium_src-db60fc29b755f1cc3e7846497cb54222e3f391de.tar.bz2
Reusing the base::StringPairs in src/components/*
Reusing the "base::StringPairs" insted of "std::vector<std::pair<std::string, std::string> >" same is defined in base/strings/string_split.h. BUG=412250 Review URL: https://codereview.chromium.org/593113002 Cr-Commit-Position: refs/heads/master@{#297387}
Diffstat (limited to 'components/search')
-rw-r--r--components/search/search.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/search/search.h b/components/search/search.h
index 6cc7927..9558ee8 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|