Loosen up heuristics for detecting account creation forms.
[chromium-blink-merge.git] / content / shell / shell_resource_context.h
blob046b89a0c8c88d6c9d4a6fa7c3e3594cfbf9cf12
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_SHELL_SHELL_RESOURCE_CONTEXT_H_
6 #define CONTENT_SHELL_SHELL_RESOURCE_CONTEXT_H_
8 #include "base/compiler_specific.h"
9 #include "base/memory/ref_counted.h"
10 #include "content/public/browser/resource_context.h"
12 namespace content {
14 class ShellURLRequestContextGetter;
16 class ShellResourceContext : public ResourceContext {
17 public:
18 explicit ShellResourceContext(ShellURLRequestContextGetter* getter);
19 virtual ~ShellResourceContext();
21 private:
22 // ResourceContext implementation:
23 virtual net::HostResolver* GetHostResolver() OVERRIDE;
24 virtual net::URLRequestContext* GetRequestContext() OVERRIDE;
26 scoped_refptr<ShellURLRequestContextGetter> getter_;
28 DISALLOW_COPY_AND_ASSIGN(ShellResourceContext);
31 } // namespace content
33 #endif // CONTENT_SHELL_SHELL_RESOURCE_CONTEXT_H_