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

Unified Diff: chrome/browser/policy/device_management_service.cc

Issue 7941008: Cosmetic cleanups in chrome/browser/policy/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Upload was broken? Created 9 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 | « chrome/browser/policy/device_management_service.h ('k') | chrome/browser/policy/device_policy_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/device_management_service.cc
diff --git a/chrome/browser/policy/device_management_service.cc b/chrome/browser/policy/device_management_service.cc
index e9b29212c8bae531611786f6306e05cf5e2c21f9..9a51ae7828770237df779b57811e2298f3aa08aa 100644
--- a/chrome/browser/policy/device_management_service.cc
+++ b/chrome/browser/policy/device_management_service.cc
@@ -4,9 +4,11 @@
#include "chrome/browser/policy/device_management_service.h"
+#include "base/message_loop.h"
+#include "base/message_loop_proxy.h"
#include "chrome/browser/browser_process.h"
-#include "chrome/browser/io_thread.h"
#include "chrome/browser/net/chrome_net_log.h"
+#include "chrome/browser/policy/device_management_backend.h"
#include "chrome/browser/policy/device_management_backend_impl.h"
#include "content/browser/browser_thread.h"
#include "net/base/cookie_monster.h"
@@ -14,7 +16,6 @@
#include "net/base/load_flags.h"
#include "net/base/net_errors.h"
#include "net/base/ssl_config_service_defaults.h"
-#include "net/http/http_auth_handler_factory.h"
#include "net/http/http_network_layer.h"
#include "net/proxy/proxy_service.h"
#include "net/url_request/url_request_context.h"
@@ -36,7 +37,7 @@ class DeviceManagementRequestContext : public net::URLRequestContext {
private:
// Overridden from net::URLRequestContext:
- virtual const std::string& GetUserAgent(const GURL& url) const;
+ virtual const std::string& GetUserAgent(const GURL& url) const OVERRIDE;
};
DeviceManagementRequestContext::DeviceManagementRequestContext(
@@ -75,13 +76,14 @@ const std::string& DeviceManagementRequestContext::GetUserAgent(
class DeviceManagementRequestContextGetter
: public net::URLRequestContextGetter {
public:
- DeviceManagementRequestContextGetter(
+ explicit DeviceManagementRequestContextGetter(
net::URLRequestContextGetter* base_context_getter)
: base_context_getter_(base_context_getter) {}
// Overridden from net::URLRequestContextGetter:
- virtual net::URLRequestContext* GetURLRequestContext();
- virtual scoped_refptr<base::MessageLoopProxy> GetIOMessageLoopProxy() const;
+ virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE;
+ virtual scoped_refptr<base::MessageLoopProxy> GetIOMessageLoopProxy()
+ const OVERRIDE;
private:
scoped_refptr<net::URLRequestContext> context_;
« no previous file with comments | « chrome/browser/policy/device_management_service.h ('k') | chrome/browser/policy/device_policy_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698