Searched refs:style_sheet_file (Results 1 – 2 of 2) sorted by relevance
52 void LoadStyleSheet(const FilePath& style_sheet_file);90 void UserStyleSheetLoader::LoadStyleSheet(const FilePath& style_sheet_file) { in LoadStyleSheet() argument94 FilePath style_sheet_dir = style_sheet_file.DirName(); in LoadStyleSheet()100 if (!file_util::PathExists(style_sheet_file)) in LoadStyleSheet()101 file_util::WriteFile(style_sheet_file, "", 0); in LoadStyleSheet()104 bool rv = file_util::ReadFileToString(style_sheet_file, &css); in LoadStyleSheet()151 FilePath style_sheet_file = profile_path_.AppendASCII(kStyleSheetDir) in Init() local154 style_sheet_file, in Init()156 LOG(ERROR) << "Failed to setup watch for " << style_sheet_file.value(); in Init()158 loader_->LoadStyleSheet(style_sheet_file); in Init()
22 FilePath style_sheet_file = dir.path().AppendASCII("User StyleSheets") in TEST() local24 file_util::CreateDirectory(style_sheet_file.DirName()); in TEST()25 ASSERT_TRUE(file_util::WriteFile(style_sheet_file, in TEST()