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

Side by Side Diff: content/public/browser/graph/browser_context_configuration.h

Issue 18796007: Content API changes to integrate base/graph. (Closed) Base URL: marinoni.mon:/usr/local/google/src/chromium/src@base_graph_review
Patch Set: Created 7 years, 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2013 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.
4
5 #ifndef CONTENT_PUBLIC_BROWSER_GRAPH_BROWSER_CONTEXT_CONFIGURATION_H_
6 #define CONTENT_PUBLIC_BROWSER_GRAPH_BROWSER_CONTEXT_CONFIGURATION_H_
7
8 #include "base/basictypes.h"
9 #include "base/graph/keyed_dependency_manager_configuration.h"
10 #include "base/graph/parameter_configuration.h"
11 #include "base/memory/ref_counted.h"
12 #include "base/memory/scoped_ptr.h"
13 #include "content/common/content_export.h"
14
15 namespace base {
16 class SequencedTaskRunner;
17 }
18
19 namespace graph {
20 class TypeGraphConfiguration;
21 } // namespace graph
22
23 namespace content {
24
25 class BrowserContext;
26 class BrowserContextDependencyManager;
27
28 class CONTENT_EXPORT BrowserContextConfiguration {
29 public:
30 BrowserContextConfiguration(
31 const scoped_refptr<base::SequencedTaskRunner>& runner);
32 ~BrowserContextConfiguration();
33
34 static scoped_ptr<BrowserContextDependencyManager> CreateDependencyManager(
35 scoped_ptr<BrowserContextConfiguration> configuration);
36
37 graph::TypeGraphConfiguration* default_type_graph_configuration();
38 graph::TypeGraphConfiguration* off_the_record_type_graph_configuration();
39
40 graph::ParameterConfiguration<BrowserContext*>*
41 default_parameter_configuration();
42 graph::ParameterConfiguration<BrowserContext*>*
43 off_the_record_parameter_configuration();
44
45 private:
46 scoped_ptr<graph::KeyedDependencyManagerConfiguration<BrowserContext*> >
47 default_configuration_;
48 scoped_ptr<graph::KeyedDependencyManagerConfiguration<BrowserContext*> >
49 off_the_record_configuration_;
50
51 DISALLOW_COPY_AND_ASSIGN(BrowserContextConfiguration);
52 };
53
54 } // namespace content
55
56 #endif // CONTENT_PUBLIC_BROWSER_GRAPH_BROWSER_CONTEXT_CONFIGURATION_H_
OLDNEW
« no previous file with comments | « content/public/browser/browser_context.h ('k') | content/public/browser/graph/browser_context_configuration.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698