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

Side by Side Diff: components/keyed_service/content/browser_context_dependency_manager.cc

Issue 701463003: Cleanup #include in //components/keyed_service/content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@419366.a
Patch Set: Remove another #include Created 6 years, 1 month 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
« no previous file with comments | « no previous file | components/keyed_service/content/browser_context_keyed_service_factory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/keyed_service/content/browser_context_dependency_manager.h" 5 #include "components/keyed_service/content/browser_context_dependency_manager.h"
6 6
7 #include "base/bind.h"
8 #include "base/debug/trace_event.h" 7 #include "base/debug/trace_event.h"
9 #include "base/memory/singleton.h" 8 #include "base/memory/singleton.h"
10 #include "components/keyed_service/content/browser_context_keyed_base_factory.h"
11 #include "content/public/browser/browser_context.h" 9 #include "content/public/browser/browser_context.h"
12 10
13 #ifndef NDEBUG 11 #ifndef NDEBUG
14 #include "base/command_line.h" 12 #include "base/command_line.h"
15 #include "base/files/file_util.h" 13 #include "base/files/file_util.h"
16 14
17 // Dumps dependency information about our browser context keyed services 15 // Dumps dependency information about our browser context keyed services
18 // into a dot file in the browser context directory. 16 // into a dot file in the browser context directory.
19 const char kDumpBrowserContextDependencyGraphFlag[] = 17 const char kDumpBrowserContextDependencyGraphFlag[] =
20 "dump-browser-context-graph"; 18 "dump-browser-context-graph";
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 if (CommandLine::ForCurrentProcess()->HasSwitch( 86 if (CommandLine::ForCurrentProcess()->HasSwitch(
89 kDumpBrowserContextDependencyGraphFlag)) { 87 kDumpBrowserContextDependencyGraphFlag)) {
90 base::FilePath dot_file = 88 base::FilePath dot_file =
91 static_cast<const content::BrowserContext*>(context) 89 static_cast<const content::BrowserContext*>(context)
92 ->GetPath() 90 ->GetPath()
93 .AppendASCII("browser-context-dependencies.dot"); 91 .AppendASCII("browser-context-dependencies.dot");
94 DumpDependenciesAsGraphviz("BrowserContext", dot_file); 92 DumpDependenciesAsGraphviz("BrowserContext", dot_file);
95 } 93 }
96 } 94 }
97 #endif // NDEBUG 95 #endif // NDEBUG
OLDNEW
« no previous file with comments | « no previous file | components/keyed_service/content/browser_context_keyed_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698