Home
last modified time | relevance | path

Searched refs:app_path (Results 1 – 25 of 48) sorted by relevance

12

/external/chromium_org/chrome/test/functional/
Dcodesign.py36 app_path = browser_info['child_process_path']
37 app_path = app_path[:app_path.find(app_name)]
38 app_path = app_path + app_name
39 self.assertTrue(valid_text in self._checkCodeSign(app_path))
42 framework_path = glob.glob(os.path.join(app_path, 'Contents', 'Versions',
Dsecure_shell.py35 app_path = files[0]
38 logging.debug('Using Secure shell app %s' % app_path)
39 self._app_id = self.InstallExtension(app_path, from_webstore=True)
/external/chromium/chrome/browser/importer/
Dimporter_list.cc31 ie->app_path.clear(); in DetectIEProfiles()
48 safari->app_path.clear(); in DetectSafariProfiles()
61 FilePath app_path; in DetectFirefoxProfiles() local
67 GetFirefoxVersionAndPathFromProfile(profile_path, &version, &app_path); in DetectFirefoxProfiles()
83 firefox->app_path = GetFirefoxInstallPathFromRegistry(); in DetectFirefoxProfiles()
85 if (firefox->app_path.empty()) in DetectFirefoxProfiles()
86 firefox->app_path = app_path; in DetectFirefoxProfiles()
102 google_toolbar->app_path.clear(); in DetectGoogleToolbarProfiles()
Dfirefox_importer_utils.h47 FilePath* app_path);
88 bool IsDefaultHomepage(const GURL& homepage, const FilePath& app_path);
Dfirefox3_importer.cc74 app_path_ = source_profile.app_path; in StartImport()
381 FilePath app_path = app_path_.AppendASCII("searchplugins"); in GetSearchEnginesXMLFiles() local
400 file = app_path.Append(FilePath::FromWStringHack( in GetSearchEnginesXMLFiles()
421 FilePath locale_app_path = app_path.AppendASCII(locale_); in GetSearchEnginesXMLFiles()
422 FilePath default_locale_app_path = app_path.AppendASCII("en-US"); in GetSearchEnginesXMLFiles()
424 app_path = locale_app_path; in GetSearchEnginesXMLFiles()
426 app_path = default_locale_app_path; in GetSearchEnginesXMLFiles()
430 file_util::FileEnumerator engines(app_path, false, in GetSearchEnginesXMLFiles()
Dfirefox_importer_utils.cc96 FilePath* app_path) { in GetFirefoxVersionAndPathFromProfile() argument
120 *app_path = FilePath::FromWStringHack( in GetFirefoxVersionAndPathFromProfile()
258 std::string ReadBrowserConfigProp(const FilePath& app_path, in ReadBrowserConfigProp() argument
261 if (!ReadPrefFile(app_path.AppendASCII("browserconfig.properties"), &content)) in ReadBrowserConfigProp()
339 bool IsDefaultHomepage(const GURL& homepage, const FilePath& app_path) { in IsDefaultHomepage() argument
344 ReadBrowserConfigProp(app_path, "browser.startup.homepage"); in IsDefaultHomepage()
/external/chromium_org/chrome/browser/importer/
Dimporter_list.cc34 ie->app_path.clear(); in DetectIEProfiles()
51 safari->app_path.clear(); in DetectSafariProfiles()
68 base::FilePath app_path; in DetectFirefoxProfiles() local
74 GetFirefoxVersionAndPathFromProfile(profile_path, &version, &app_path); in DetectFirefoxProfiles()
84 firefox->importer_name = GetFirefoxImporterName(app_path); in DetectFirefoxProfiles()
88 firefox->app_path = GetFirefoxInstallPathFromRegistry(); in DetectFirefoxProfiles()
90 if (firefox->app_path.empty()) in DetectFirefoxProfiles()
91 firefox->app_path = app_path; in DetectFirefoxProfiles()
/external/chromium_org/chrome/installer/mac/
Dsign_app.sh.in32 app_path="${1}"
40 versioned_dir="${app_path}/Contents/Versions/@VERSION@"
42 browser_app="${app_path}"
Dsign_versioned_dir.sh.in31 app_path="${1}"
35 versioned_dir="${app_path}/Contents/Versions/@VERSION@"
/external/chromium_org/chrome/browser/web_applications/
Dweb_app_mac.mm153 base::FilePath GetResourcesPath(const base::FilePath& app_path) {
154 return app_path.Append("Contents").Append("Resources");
280 void DeletePathAndParentIfEmpty(const base::FilePath& app_path) {
281 DCHECK(!app_path.empty());
282 base::DeleteFile(app_path, true);
283 base::FilePath apps_folder = app_path.DirName();
518 base::FilePath app_path = GetApplicationsShortcutPath();
519 if (!app_path.empty() && HasSameUserDataDir(app_path))
520 DeletePathAndParentIfEmpty(app_path);
538 base::FilePath app_path = GetApplicationsShortcutPath();
[all …]
Dweb_app_mac.h88 bool UpdateDisplayName(const base::FilePath& app_path) const;
94 bool UpdatePlist(const base::FilePath& app_path) const;
97 bool UpdateIcon(const base::FilePath& app_path) const;
/external/chromium/net/url_request/
Durl_request_unittest.cc924 FilePath app_path; in TEST_F() local
925 PathService::Get(base::FILE_EXE, &app_path); in TEST_F()
926 GURL app_url = FilePathToFileURL(app_path); in TEST_F()
938 EXPECT_TRUE(file_util::GetFileSize(app_path, &file_size)); in TEST_F()
1110 FilePath app_path; in TEST_F() local
1111 PathService::Get(base::DIR_SOURCE_ROOT, &app_path); in TEST_F()
1112 app_path = app_path.AppendASCII("net"); in TEST_F()
1113 app_path = app_path.AppendASCII("data"); in TEST_F()
1114 app_path = app_path.AppendASCII("url_request_unittest"); in TEST_F()
1115 app_path = app_path.AppendASCII("with-headers.html"); in TEST_F()
[all …]
/external/chromium_org/chrome/common/importer/
Dfirefox_importer_utils.h55 base::FilePath* app_path);
81 bool IsDefaultHomepage(const GURL& homepage, const base::FilePath& app_path);
92 base::string16 GetFirefoxImporterName(const base::FilePath& app_path);
Dfirefox_importer_utils.cc98 base::FilePath* app_path) { in GetFirefoxVersionAndPathFromProfile() argument
123 *app_path = base::FilePath::FromUTF8Unsafe(line.substr(equal + 1)); in GetFirefoxVersionAndPathFromProfile()
144 std::string ReadBrowserConfigProp(const base::FilePath& app_path, in ReadBrowserConfigProp() argument
147 if (!ReadPrefFile(app_path.AppendASCII("browserconfig.properties"), &content)) in ReadBrowserConfigProp()
189 bool IsDefaultHomepage(const GURL& homepage, const base::FilePath& app_path) { in IsDefaultHomepage() argument
194 ReadBrowserConfigProp(app_path, "browser.startup.homepage"); in IsDefaultHomepage()
256 base::string16 GetFirefoxImporterName(const base::FilePath& app_path) { in GetFirefoxImporterName() argument
257 const base::FilePath app_ini_file = app_path.AppendASCII("application.ini"); in GetFirefoxImporterName()
/external/chromium_org/apps/
Dload_and_launch_browsertest.cc45 base::FilePath app_path = test_data_dir_ in IN_PROC_BROWSER_TEST_F() local
50 app_path.value()); in IN_PROC_BROWSER_TEST_F()
82 base::FilePath app_path = test_data_dir_ in IN_PROC_BROWSER_TEST_F() local
92 app_path.value()); in IN_PROC_BROWSER_TEST_F()
Dshell_window_interactive_uitest.cc25 ShellWindow* OpenWindow(const char* app_path, in OpenWindow() argument
31 const Extension* extension = LoadAndLaunchPlatformApp(app_path); in OpenWindow()
/external/chromium_org/mojo/shell/
Dloader.cc28 base::FilePath app_path; in OnURLFetchComplete() local
29 source->GetResponseAsFilePath(true, &app_path); in OnURLFetchComplete()
30 delegate_->DidCompleteLoad(source->GetURL(), app_path); in OnURLFetchComplete()
Dapp_container.cc38 const base::FilePath& app_path) { in DidCompleteLoad() argument
46 app_path_ = app_path; in DidCompleteLoad()
/external/chromium_org/chrome/installer/gcapi_mac/
Dgcapi.mm289 NSString* PathToFramework(NSString* app_path, NSDictionary* info_plist) {
293 return [[[app_path
299 NSString* PathToInstallScript(NSString* app_path, NSDictionary* info_plist) {
300 return [PathToFramework(app_path, info_plist) stringByAppendingPathComponent:
358 NSString* app_path = [NSString stringWithUTF8String:source_path];
360 [app_path stringByAppendingPathComponent:@"Contents/Info.plist"];
366 NSString* install_script = PathToInstallScript(app_path, info_plist);
390 [app_path stringByReplacingOccurrencesOfString:@"'"
405 [task setArguments:@[app_path, kChromeInstallPath]];
447 NSString* app_path;
[all …]
/external/chromium_org/chrome/browser/apps/
Devent_page_browsertest.cc19 void TestUnloadEventPage(const char* app_path) { in TestUnloadEventPage() argument
22 const Extension* extension = LoadAndLaunchPlatformApp(app_path); in TestUnloadEventPage()
/external/chromium_org/chrome/utility/importer/
Dfirefox_importer.cc44 void LoadDefaultBookmarks(const base::FilePath& app_path, in LoadDefaultBookmarks() argument
46 base::FilePath file = app_path.AppendASCII("defaults") in LoadDefaultBookmarks()
104 app_path_ = source_profile.app_path; in StartImport()
404 base::FilePath app_path = app_path_.AppendASCII("searchplugins"); in GetSearchEnginesXMLData() local
423 file = app_path.AppendASCII(engine.substr(index + kAppPrefix.length())); in GetSearchEnginesXMLData()
445 base::FilePath locale_app_path = app_path.AppendASCII(locale_); in GetSearchEnginesXMLData()
446 base::FilePath default_locale_app_path = app_path.AppendASCII("en-US"); in GetSearchEnginesXMLData()
448 app_path = locale_app_path; in GetSearchEnginesXMLData()
450 app_path = default_locale_app_path; in GetSearchEnginesXMLData()
454 base::FileEnumerator engines(app_path, false, base::FileEnumerator::FILES); in GetSearchEnginesXMLData()
/external/chromium/base/
Dfile_version_info_win.cc35 FilePath app_path; in CreateFileVersionInfoForCurrentModule() local
36 if (!PathService::Get(base::FILE_MODULE, &app_path)) in CreateFileVersionInfoForCurrentModule()
39 return CreateFileVersionInfo(app_path); in CreateFileVersionInfoForCurrentModule()
/external/chromium/chrome/browser/profiles/
Dprofile_impl_io_data.cc58 const FilePath& app_path) { in Init() argument
73 io_data_->app_path_ = app_path; in Init()
300 FilePath app_path = app_path_.AppendASCII(app_id); in InitializeAppRequestContext() local
301 FilePath cookie_path = app_path.Append(chrome::kCookieFilename); in InitializeAppRequestContext()
302 FilePath cache_path = app_path.Append(chrome::kCacheDirname); in InitializeAppRequestContext()
/external/chromium_org/net/url_request/
Durl_request_unittest.cc694 base::FilePath app_path; in TEST_F() local
695 PathService::Get(base::FILE_EXE, &app_path); in TEST_F()
696 GURL app_url = FilePathToFileURL(app_path); in TEST_F()
708 EXPECT_TRUE(base::GetFileSize(app_path, &file_size)); in TEST_F()
723 base::FilePath app_path; in TEST_F() local
724 PathService::Get(base::FILE_EXE, &app_path); in TEST_F()
725 GURL app_url = FilePathToFileURL(app_path); in TEST_F()
906 base::FilePath app_path; in TEST_F() local
907 PathService::Get(base::DIR_SOURCE_ROOT, &app_path); in TEST_F()
908 app_path = app_path.AppendASCII("net"); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/extensions/api/storage/
Dsync_or_local_value_store_cache.cc105 const base::FilePath app_path = profile_path.AppendASCII( in InitOnFileThread() local
112 factory, app_path, syncer::APP_SETTINGS, in InitOnFileThread()

12