Home
last modified time | relevance | path

Searched refs:style_sheet_file (Results 1 – 2 of 2) sorted by relevance

/external/chromium/chrome/browser/
Duser_style_sheet_watcher.cc52 void LoadStyleSheet(const FilePath& style_sheet_file);
90 void UserStyleSheetLoader::LoadStyleSheet(const FilePath& style_sheet_file) { in LoadStyleSheet() argument
94 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() local
154 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()
Duser_style_sheet_watcher_unittest.cc22 FilePath style_sheet_file = dir.path().AppendASCII("User StyleSheets") in TEST() local
24 file_util::CreateDirectory(style_sheet_file.DirName()); in TEST()
25 ASSERT_TRUE(file_util::WriteFile(style_sheet_file, in TEST()