summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download
diff options
context:
space:
mode:
authorerg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-24 00:41:43 +0000
committererg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-24 00:41:43 +0000
commit4f6944c63cd597ea42968a03e1a54623a2b914c3 (patch)
tree8fdfd6c5021bc8f3e76184a36a3cfcb9625d70bf /chrome/browser/download
parentf069e841e7f515bde48bb5f5c9203db4cad3b6d6 (diff)
downloadchromium_src-4f6944c63cd597ea42968a03e1a54623a2b914c3.zip
chromium_src-4f6944c63cd597ea42968a03e1a54623a2b914c3.tar.gz
chromium_src-4f6944c63cd597ea42968a03e1a54623a2b914c3.tar.bz2
Profiles: Add a --dump-profile-graph option when !NDEBUG.
--dump-profile-graph will create a text file in the profile directory in graphviz format. The graph is the dumped dependency graph. BUG=none R=mirandac TBR=jhawkins,sky,abodenha,tim Review URL: http://codereview.chromium.org/9200017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118765 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download')
-rw-r--r--chrome/browser/download/download_service_factory.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/download/download_service_factory.cc b/chrome/browser/download/download_service_factory.cc
index 473597c..c011fca 100644
--- a/chrome/browser/download/download_service_factory.cc
+++ b/chrome/browser/download/download_service_factory.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -20,8 +20,8 @@ DownloadServiceFactory* DownloadServiceFactory::GetInstance() {
}
DownloadServiceFactory::DownloadServiceFactory()
- : ProfileKeyedServiceFactory(
- ProfileDependencyManager::GetInstance()) {
+ : ProfileKeyedServiceFactory("DownloadService",
+ ProfileDependencyManager::GetInstance()) {
// TODO(rdsmith): For Shutdown() order we need to:
// DependsOn(HistoryServiceDataFactory::GetInstance());
}