summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_paths.cc
diff options
context:
space:
mode:
authoreroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-23 17:47:49 +0000
committereroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-23 17:47:49 +0000
commitfd9c0d9df665355c14d3c0df6f3c5b0b2059c129 (patch)
tree1d2c2cb1cd339587089ae0f913864ef163cf2778 /chrome/common/chrome_paths.cc
parent3773020c131d144f0e0e1d849227b34d7c4cf6e1 (diff)
downloadchromium_src-fd9c0d9df665355c14d3c0df6f3c5b0b2059c129.zip
chromium_src-fd9c0d9df665355c14d3c0df6f3c5b0b2059c129.tar.gz
chromium_src-fd9c0d9df665355c14d3c0df6f3c5b0b2059c129.tar.bz2
Add an initial implementation of net-internals inspector in javascript.
BUG=37421 Review URL: http://codereview.chromium.org/1088007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42357 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_paths.cc')
-rw-r--r--chrome/common/chrome_paths.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/chrome_paths.cc b/chrome/common/chrome_paths.cc
index 58e8f68..32dd883 100644
--- a/chrome/common/chrome_paths.cc
+++ b/chrome/common/chrome_paths.cc
@@ -131,6 +131,11 @@ bool PathProvider(int key, FilePath* result) {
return false;
cur = cur.Append(FILE_PATH_LITERAL("inspector"));
break;
+ case chrome::DIR_NET_INTERNALS:
+ if (!PathService::Get(chrome::DIR_RESOURCES, &cur))
+ return false;
+ cur = cur.Append(FILE_PATH_LITERAL("net_internals"));
+ break;
case chrome::DIR_APP_DICTIONARIES:
#if defined(OS_LINUX) || defined(OS_MACOSX)
// We can't write into the EXE dir on Linux, so keep dictionaries