Searched defs:relative_path (Results 1 - 25 of 61) sorted by relevance

123

/external/chromium/chrome/common/extensions/
H A Dextension_sidebar_utils.cc25 GURL ResolveRelativePath(const std::string& relative_path, argument
28 GURL url(extension->GetResourceURL(relative_path));
31 relative_path);
H A Dextension_resource.cc16 const FilePath& relative_path)
19 relative_path_(relative_path) {
41 const FilePath& extension_root, const FilePath& relative_path) {
48 FilePath full_path = clean_extension_root.Append(relative_path);
14 ExtensionResource(const std::string& extension_id, const FilePath& extension_root, const FilePath& relative_path) argument
40 GetFilePath( const FilePath& extension_root, const FilePath& relative_path) argument
H A Dextension_resource.h23 const FilePath& relative_path);
37 const FilePath& relative_path);
42 const FilePath& relative_path() const { return relative_path_; } function in class:ExtensionResource
H A Dextension_resource_unittest.cc21 EXPECT_TRUE(resource.relative_path().empty());
34 FilePath relative_path; local
35 relative_path = relative_path.AppendASCII("cira.js");
38 ExtensionResource resource(extension_id, root_path, relative_path);
42 EXPECT_EQ(relative_path.value(), resource.relative_path().value());
88 ToLower(resource.relative_path().value()));
H A Duser_script.cc51 const FilePath& relative_path,
54 relative_path_(relative_path),
50 File(const FilePath& extension_root, const FilePath& relative_path, const GURL& url) argument
H A Dextension_l10n_util.cc297 FilePath relative_path; local
298 if (!locales_path.AppendRelativePath(locale_path, &relative_path)) {
302 std::string subdir = relative_path.MaybeAsASCII();
/external/chromium/testing/gtest/test/
H A Dgtest-options_test.cc63 FilePath GetAbsolutePathOf(const FilePath& relative_path) { argument
64 return FilePath::ConcatPaths(FilePath::GetCurrentDir(), relative_path);
/external/chromium_org/extensions/common/
H A Dextension_resource.cc18 const base::FilePath& relative_path)
21 relative_path_(relative_path),
51 const base::FilePath& relative_path,
60 base::FilePath full_path = clean_extension_root.Append(relative_path);
66 relative_path.GetComponents(&components);
16 ExtensionResource(const std::string& extension_id, const base::FilePath& extension_root, const base::FilePath& relative_path) argument
49 GetFilePath( const base::FilePath& extension_root, const base::FilePath& relative_path, SymlinkPolicy symlink_policy) argument
H A Dextension_resource.h31 const base::FilePath& relative_path);
54 const base::FilePath& relative_path,
60 const base::FilePath& relative_path() const { return relative_path_; } function in class:extensions::ExtensionResource
H A Dextension_resource_unittest.cc23 EXPECT_TRUE(resource.relative_path().empty());
37 base::FilePath relative_path; local
38 relative_path = relative_path.AppendASCII("cira.js");
40 ExtensionResource resource(extension_id, root_path, relative_path);
44 EXPECT_EQ(relative_path.value(), resource.relative_path().value());
161 ToLower(resource.relative_path().value()));
/external/chromium_org/testing/gtest/test/
H A Dgtest-options_test.cc63 FilePath GetAbsolutePathOf(const FilePath& relative_path) { argument
64 return FilePath::ConcatPaths(FilePath::GetCurrentDir(), relative_path);
/external/gtest/test/
H A Dgtest-options_test.cc63 FilePath GetAbsolutePathOf(const FilePath& relative_path) { argument
64 return FilePath::ConcatPaths(FilePath::GetCurrentDir(), relative_path);
/external/protobuf/gtest/test/
H A Dgtest-options_test.cc63 FilePath GetAbsolutePathOf(const FilePath& relative_path) { argument
64 return FilePath::ConcatPaths(FilePath::GetCurrentDir(), relative_path);
/external/chromium_org/chrome/common/extensions/
H A Dweb_accessible_resources_handler.cc38 const std::string& relative_path) {
48 info->web_accessible_resources_, relative_path);
74 std::string relative_path; local
75 if (!list_value->GetString(i, &relative_path)) {
86 while (relative_path[0] == '/')
87 relative_path = relative_path.substr(1, relative_path.length() - 1);
88 pattern.SetPath(pattern.path() + relative_path);
36 IsResourceWebAccessible( const Extension* extension, const std::string& relative_path) argument
H A Dcsp_handler.cc67 const std::string& relative_path) {
68 return SandboxedPageInfo::IsSandboxedPage(extension, relative_path) ?
65 GetResourceContentSecurityPolicy( const Extension* extension, const std::string& relative_path) argument
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/
H A Dcore-extensions.rb184 # File.relative_path('rel/path') # => './rel/path'
185 # File.relative_path('/some/abs/path', '/some') # => './abs/path'
186 # File.relative_path('/some/file.txt', '/some/abs/path') # => '../../file.txt'
187 def self.relative_path( target, reference = Dir.pwd ) singleton method in class:File
/external/chromium/chrome/browser/extensions/
H A Dexecute_code_in_tab_function.cc107 std::string relative_path; local
109 if (!script_info->GetString(keys::kFileKey, &relative_path))
111 resource_ = GetExtension()->GetResource(relative_path);
113 if (resource_.extension_root().empty() || resource_.relative_path().empty()) {
135 resource_.relative_path().value());
138 WideToUTF8(resource_.relative_path().value()));
H A Dextension_protocols.cc143 FilePath relative_path = directory_path.BaseName().Append( local
146 relative_path = relative_path.NormalizeWindowsPathSeparators();
158 if (relative_path == bm_resource_path) {
159 return new URLRequestResourceBundleJob(request, relative_path,
H A Dextension_webstore_private_browsertest.cc121 // |relative_path|, but replaces the hostname with kTestUrlHostname so that
124 GURL GetUrl(const std::string& relative_path) { argument
126 "files/extensions/webstore_private/" + relative_path);
134 const std::string& relative_path,
153 GURL url = GetUrl(relative_path);
165 void RunLoginTest(const std::string& relative_path, argument
170 relative_path,
175 relative_path,
133 RunLoginTestImpl(bool incognito, const std::string& relative_path, const std::string& initial_login, bool login_succeeds, const std::string& login_result) argument
H A Dsandboxed_extension_unpacker.cc584 FilePath relative_path = FilePath::FromWStringHack(UTF8ToWide(*key_it)); local
585 relative_path = relative_path.Append(Extension::kMessagesFilename);
586 if (relative_path.IsAbsolute() || relative_path.ReferencesParent()) {
595 FilePath path = extension_root_.Append(relative_path);
/external/chromium_org/chrome/common/extensions/manifest_handlers/
H A Dsandboxed_page_info.cc54 const std::string& relative_path) {
55 return extension->ResourceMatches(GetPages(extension), relative_path);
74 std::string relative_path; local
75 if (!list_value->GetString(i, &relative_path)) {
86 while (relative_path[0] == '/')
87 relative_path = relative_path.substr(1, relative_path.length() - 1);
88 pattern.SetPath(pattern.path() + relative_path);
53 IsSandboxedPage(const Extension* extension, const std::string& relative_path) argument
/external/chromium_org/webkit/browser/fileapi/
H A Dfile_system_dir_url_request_job.cc104 base::FilePath relative_path = url_.path(); local
106 relative_path = base::FilePath(FILE_PATH_LITERAL("/") + relative_path.value());
108 const base::string16& title = relative_path.LossyDisplayName();
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
H A Dprivate_api_misc.cc155 base::FilePath relative_path; local
156 if (!src_dir.AppendRelativePath(file_path, &relative_path))
158 src_relative_paths.push_back(relative_path);
/external/chromium_org/chrome_frame/test/
H A Dmock_ie_event_sink_test.cc228 const std::wstring& relative_path) {
229 return server_mock_.root_dir().Append(relative_path);
233 const std::wstring& relative_path) {
234 return server_mock_.Resolve(relative_path.c_str());
227 GetTestFilePath( const std::wstring& relative_path) argument
232 GetTestUrl( const std::wstring& relative_path) argument
/external/chromium/chrome/browser/ui/webui/
H A Dchrome_url_data_manager_backend.cc415 std::string relative_path; local
416 URLToRequest(stripped_url, &source_name, &relative_path);
421 // Check that |relative_path| is not an absolute path (otherwise
424 FilePath p(FilePath::StringType(relative_path.begin(), relative_path.end()));
432 *path = inspector_dir.AppendASCII(relative_path);

Completed in 517 milliseconds

123