summaryrefslogtreecommitdiffstats
path: root/chrome/browser/background
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/background
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/background')
-rw-r--r--chrome/browser/background/background_contents_service_factory.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/background/background_contents_service_factory.cc b/chrome/browser/background/background_contents_service_factory.cc
index 026f6c3..9157af6 100644
--- a/chrome/browser/background/background_contents_service_factory.cc
+++ b/chrome/browser/background/background_contents_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.
@@ -25,7 +25,8 @@ BackgroundContentsServiceFactory* BackgroundContentsServiceFactory::
}
BackgroundContentsServiceFactory::BackgroundContentsServiceFactory()
- : ProfileKeyedServiceFactory(ProfileDependencyManager::GetInstance()) {
+ : ProfileKeyedServiceFactory("BackgroundContentsService",
+ ProfileDependencyManager::GetInstance()) {
}
BackgroundContentsServiceFactory::~BackgroundContentsServiceFactory() {