Searched refs:GetMimeType (Results 1 - 25 of 160) sorted by relevance

1234567

/external/chromium_org/components/dom_distiller/content/
H A Ddom_distiller_viewer_source_unittest.cc25 EXPECT_EQ("text/css", source_.get()->GetMimeType(kViewerCssPath));
26 EXPECT_EQ("text/html", source_.get()->GetMimeType("anythingelse"));
27 EXPECT_EQ("text/javascript", source_.get()->GetMimeType(kViewerJsPath));
/external/chromium_org/content/browser/webui/
H A Dweb_ui_data_source_unittest.cc66 std::string GetMimeType(const std::string& path) const { function in class:content::WebUIDataSourceTest
67 return source_->GetMimeType(path);
134 EXPECT_EQ(GetMimeType(std::string()), html);
135 EXPECT_EQ(GetMimeType("foo"), html);
136 EXPECT_EQ(GetMimeType("foo.html"), html);
137 EXPECT_EQ(GetMimeType(".js"), js);
138 EXPECT_EQ(GetMimeType("foo.js"), js);
139 EXPECT_EQ(GetMimeType("js"), html);
140 EXPECT_EQ(GetMimeType("foojs"), html);
141 EXPECT_EQ(GetMimeType("fo
[all...]
H A Dshared_resources_data_source.h24 virtual std::string GetMimeType(const std::string&) const OVERRIDE;
/external/chromium_org/content/public/browser/
H A Dstream_handle.h30 virtual const std::string& GetMimeType() = 0;
/external/chromium_org/net/url_request/
H A Durl_request_about_job.cc31 bool URLRequestAboutJob::GetMimeType(std::string* mime_type) const { function in class:net::URLRequestAboutJob
H A Durl_request_about_job.h22 virtual bool GetMimeType(std::string* mime_type) const OVERRIDE;
/external/chromium_org/chrome/browser/search/
H A Diframe_source_unittest.cc35 using IframeSource::GetMimeType;
184 TEST_F(IframeSourceTest, GetMimeType) {
186 EXPECT_EQ("text/html", source()->GetMimeType("foo.html"));
187 EXPECT_EQ("application/javascript", source()->GetMimeType("foo.js"));
188 EXPECT_EQ("text/css", source()->GetMimeType("foo.css"));
189 EXPECT_EQ("image/png", source()->GetMimeType("foo.png"));
190 EXPECT_EQ("", source()->GetMimeType("bogus"));
H A Dcontextual_search_promo_source_android.h26 virtual std::string GetMimeType(
H A Diframe_source.h20 virtual std::string GetMimeType(
H A Dlocal_ntp_source.h30 virtual std::string GetMimeType(const std::string& path) const OVERRIDE;
/external/chromium_org/chrome/browser/ui/webui/
H A Dtheme_source_unittest.cc61 EXPECT_EQ(theme_source()->GetMimeType("css/new_tab_theme.css"), "text/css");
62 EXPECT_EQ(theme_source()->GetMimeType("css/new_tab_theme.css?foo"),
64 EXPECT_EQ(theme_source()->GetMimeType("WRONGURL"), "image/png");
H A Dapp_launcher_page_ui.h40 virtual std::string GetMimeType(const std::string&) const OVERRIDE;
H A Dbookmarks_ui.cc40 std::string BookmarksUIHTMLSource::GetMimeType(const std::string& path) const { function in class:BookmarksUIHTMLSource
H A Dbookmarks_ui.h31 virtual std::string GetMimeType(const std::string& path) const OVERRIDE;
H A Dfileicon_source.h32 virtual std::string GetMimeType(const std::string&) const OVERRIDE;
H A Dtheme_source.h32 virtual std::string GetMimeType(const std::string& path) const OVERRIDE;
/external/chromium_org/chrome/browser/download/
H A Ddownload_crx_util.cc108 download_item.GetMimeType())) {
124 if (download_item.GetMimeType() == extensions::Extension::kMimeType ||
126 download_item.GetMimeType())) {
/external/chromium_org/android_webview/browser/
H A Daw_web_resource_response.h31 virtual bool GetMimeType(JNIEnv* env, std::string* mime_type) const = 0;
/external/chromium_org/android_webview/native/
H A Daw_web_resource_response_impl.h29 virtual bool GetMimeType(JNIEnv* env, std::string* mime_type) const OVERRIDE;
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/
H A Dscreenlock_icon_source.h29 virtual std::string GetMimeType(const std::string& path) const OVERRIDE;
/external/chromium_org/chrome/browser/ui/webui/chromeos/
H A Dslow_trace_ui.h37 virtual std::string GetMimeType(const std::string& path) const OVERRIDE;
/external/chromium_org/chrome/browser/ui/webui/ntp/
H A Dthumbnail_source.h37 virtual std::string GetMimeType(const std::string& path) const OVERRIDE;
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/
H A Duser_image_source.h36 virtual std::string GetMimeType(const std::string& path) const OVERRIDE;
/external/chromium_org/content/browser/net/
H A Dview_http_cache_job_factory.cc39 virtual bool GetMimeType(std::string* mime_type) const OVERRIDE{
40 return core_->GetMimeType(mime_type);
65 bool GetMimeType(std::string* mime_type) const;
156 bool ViewHttpCacheJob::Core::GetMimeType(std::string* mime_type) const { function in class:content::__anon7271::ViewHttpCacheJob::Core
/external/chromium_org/content/browser/streams/
H A Dstream_handle_impl.h34 virtual const std::string& GetMimeType() OVERRIDE;

Completed in 354 milliseconds

1234567