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

Unified Diff: components/policy/core/common/cloud/device_management_service.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
Index: components/policy/core/common/cloud/device_management_service.h
diff --git a/components/policy/core/common/cloud/device_management_service.h b/components/policy/core/common/cloud/device_management_service.h
index ff7565964302415c2d7073f74d65031df3d31915..460922132219ada8e13d53a7a6417be3476224c8 100644
--- a/components/policy/core/common/cloud/device_management_service.h
+++ b/components/policy/core/common/cloud/device_management_service.h
@@ -15,11 +15,13 @@
#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
+#include "base/strings/string_split.h"
#include "components/policy/core/common/cloud/cloud_policy_constants.h"
#include "components/policy/policy_export.h"
#include "net/url_request/url_fetcher_delegate.h"
#include "policy/proto/device_management_backend.pb.h"
+
namespace net {
class URLRequestContextGetter;
}
@@ -73,7 +75,7 @@ class POLICY_EXPORT DeviceManagementRequestJob {
void Start(const Callback& callback);
protected:
- typedef std::vector<std::pair<std::string, std::string> > ParameterMap;
+ typedef base::StringPairs ParameterMap;
DeviceManagementRequestJob(JobType type,
const std::string& agent_parameter,

Powered by Google App Engine
This is Rietveld 408576698