diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-14 19:06:30 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-14 19:06:30 +0000 |
commit | 98af9aca7168f061bfaae5cd4f4eb3f7de4e70e7 (patch) | |
tree | b2a1eafeb6863d2ca93615034b7dab005fd2e72b /gfx/gfx_paths.h | |
parent | c70d067f569f4d927e7be8f221f856812af396d7 (diff) | |
download | chromium_src-98af9aca7168f061bfaae5cd4f4eb3f7de4e70e7.zip chromium_src-98af9aca7168f061bfaae5cd4f4eb3f7de4e70e7.tar.gz chromium_src-98af9aca7168f061bfaae5cd4f4eb3f7de4e70e7.tar.bz2 |
Create a path provider for gfx, allowing the removal of the temporary app dependency.
TBR=darin
BUG=none
TEST=none
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41552 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gfx/gfx_paths.h')
-rw-r--r-- | gfx/gfx_paths.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gfx/gfx_paths.h b/gfx/gfx_paths.h new file mode 100644 index 0000000..7da1acc --- /dev/null +++ b/gfx/gfx_paths.h @@ -0,0 +1,27 @@ +// Copyright (c) 2010 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. + +#ifndef GFX_GFX_PATHS_H_ +#define GFX_GFX_PATHS_H_ + +// This file declares path keys for the app module. These can be used with +// the PathService to access various special directories and files. + +namespace gfx { + +enum { + PATH_START = 2000, + + // Valid only in development environment; TODO(darin): move these + DIR_TEST_DATA, // Directory where unit test data resides. + + PATH_END +}; + +// Call once to register the provider for the path keys defined above. +void RegisterPathProvider(); + +} // namespace gfx + +#endif // GFX_GFX_PATHS_H_ |