/external/chromium_org/content/browser/webui/ |
D | web_ui_data_source_unittest.cc | 67 std::string GetMimeType(const std::string& path) const { in GetMimeType() function in content::WebUIDataSourceTest 68 return source_->GetMimeType(path); in GetMimeType() 144 EXPECT_EQ(GetMimeType(std::string()), html); in TEST_F() 145 EXPECT_EQ(GetMimeType("foo"), html); in TEST_F() 146 EXPECT_EQ(GetMimeType("foo.html"), html); in TEST_F() 147 EXPECT_EQ(GetMimeType(".js"), js); in TEST_F() 148 EXPECT_EQ(GetMimeType("foo.js"), js); in TEST_F() 149 EXPECT_EQ(GetMimeType("js"), html); in TEST_F() 150 EXPECT_EQ(GetMimeType("foojs"), html); in TEST_F() 151 EXPECT_EQ(GetMimeType("foo.jsp"), html); in TEST_F()
|
D | web_ui_data_source_impl.cc | 41 virtual std::string GetMimeType(const std::string& path) const OVERRIDE { in GetMimeType() function in content::WebUIDataSourceImpl::InternalDataSource 42 return parent_->GetMimeType(path); in GetMimeType() 172 std::string WebUIDataSourceImpl::GetMimeType(const std::string& path) const { in GetMimeType() function in content::WebUIDataSourceImpl
|
/external/chromium_org/chrome/browser/search/ |
D | iframe_source_unittest.cc | 32 using IframeSource::GetMimeType; 179 TEST_F(IframeSourceTest, GetMimeType) { in TEST_F() argument 181 EXPECT_EQ("text/html", source()->GetMimeType("foo.html")); in TEST_F() 182 EXPECT_EQ("application/javascript", source()->GetMimeType("foo.js")); in TEST_F() 183 EXPECT_EQ("text/css", source()->GetMimeType("foo.css")); in TEST_F() 184 EXPECT_EQ("image/png", source()->GetMimeType("foo.png")); in TEST_F() 185 EXPECT_EQ("", source()->GetMimeType("bogus")); in TEST_F()
|
/external/chromium_org/chrome/browser/ui/webui/ |
D | theme_source_unittest.cc | 61 EXPECT_EQ(theme_source()->GetMimeType("css/new_tab_theme.css"), "text/css"); in TEST_F() 62 EXPECT_EQ(theme_source()->GetMimeType("css/new_tab_theme.css?foo"), in TEST_F() 64 EXPECT_EQ(theme_source()->GetMimeType("WRONGURL"), "image/png"); in TEST_F()
|
/external/chromium/chrome/browser/ui/webui/ |
D | theme_source_unittest.cc | 60 EXPECT_EQ(theme_source()->GetMimeType("css/newtab.css"), "text/css"); in TEST_F() 61 EXPECT_EQ(theme_source()->GetMimeType("css/newtab.css?foo"), "text/css"); in TEST_F() 62 EXPECT_EQ(theme_source()->GetMimeType("WRONGURL"), "image/png"); in TEST_F()
|
D | devtools_ui.cc | 35 virtual std::string GetMimeType(const std::string& path) const; 69 std::string DevToolsDataSource::GetMimeType(const std::string& path) const { in GetMimeType() function in DevToolsDataSource
|
D | sync_internals_html_source.h | 22 virtual std::string GetMimeType(const std::string& path) const;
|
D | shared_resources_data_source.h | 27 virtual std::string GetMimeType(const std::string&) const;
|
/external/chromium/chrome/browser/net/ |
D | view_http_cache_job_factory.cc | 33 virtual bool GetMimeType(std::string* mime_type) const { in GetMimeType() function in __anon1fbb2f760111::ViewHttpCacheJob 34 return core_->GetMimeType(mime_type); in GetMimeType() 60 bool GetMimeType(std::string* mime_type) const; 148 bool ViewHttpCacheJob::Core::GetMimeType(std::string* mime_type) const { in GetMimeType() function in __anon1fbb2f760111::ViewHttpCacheJob::Core
|
D | metadata_url_request.cc | 33 virtual bool GetMimeType(std::string* mime_type) const; 121 bool MetadataRequestHandler::GetMimeType(std::string* mime_type) const { in GetMimeType() function in __anonf2badd930111::MetadataRequestHandler
|
D | url_request_mock_http_job.cc | 108 bool URLRequestMockHTTPJob::GetMimeType(std::string* mime_type) const { in GetMimeType() function in URLRequestMockHTTPJob 111 return info.headers && info.headers->GetMimeType(mime_type); in GetMimeType()
|
D | url_request_slow_download_job.cc | 178 bool URLRequestSlowDownloadJob::GetMimeType(std::string* mime_type) const { in GetMimeType() function in URLRequestSlowDownloadJob 181 return info.headers && info.headers->GetMimeType(mime_type); in GetMimeType()
|
/external/chromium_org/content/browser/net/ |
D | view_http_cache_job_factory.cc | 39 virtual bool GetMimeType(std::string* mime_type) const OVERRIDE{ in GetMimeType() function in content::__anon4827041a0111::ViewHttpCacheJob 40 return core_->GetMimeType(mime_type); in GetMimeType() 65 bool GetMimeType(std::string* mime_type) const; 155 bool ViewHttpCacheJob::Core::GetMimeType(std::string* mime_type) const { in GetMimeType() function in content::__anon4827041a0111::ViewHttpCacheJob::Core
|
/external/chromium_org/chrome/browser/download/ |
D | download_crx_util.cc | 97 download_item.GetMimeType())) { in OpenChromeExtension() 121 if (download_item.GetMimeType() == extensions::Extension::kMimeType || in IsExtensionDownload() 123 download_item.GetMimeType())) { in IsExtensionDownload()
|
/external/chromium_org/android_webview/browser/ |
D | intercepted_request_data.cc | 33 virtual bool GetMimeType(JNIEnv* env, in GetMimeType() function in android_webview::__anon1b8a0f5c0111::StreamReaderJobDelegateImpl 37 return intercepted_request_data_->GetMimeType(env, mime_type); in GetMimeType()
|
/external/chromium_org/content/test/net/ |
D | url_request_abort_on_end_job.cc | 83 bool URLRequestAbortOnEndJob::GetMimeType(std::string* mime_type) const { in GetMimeType() function in content::URLRequestAbortOnEndJob 86 return info.headers.get() && info.headers->GetMimeType(mime_type); in GetMimeType()
|
/external/chromium_org/android_webview/browser/net/ |
D | android_stream_reader_url_request_job.h | 57 virtual bool GetMimeType( 85 virtual bool GetMimeType(std::string* mime_type) const OVERRIDE;
|
D | android_stream_reader_url_request_job.cc | 262 bool AndroidStreamReaderURLRequestJob::GetMimeType( in GetMimeType() function in AndroidStreamReaderURLRequestJob 275 return delegate_->GetMimeType( in GetMimeType() 317 if (GetMimeType(&mime_type) && !mime_type.empty()) { in HeadersComplete()
|
/external/chromium_org/content/public/browser/ |
D | stream_handle.h | 25 virtual const std::string& GetMimeType() = 0;
|
/external/chromium/net/url_request/ |
D | url_request_about_job.h | 25 virtual bool GetMimeType(std::string* mime_type) const;
|
/external/chromium_org/net/url_request/ |
D | url_request_about_job.h | 22 virtual bool GetMimeType(std::string* mime_type) const OVERRIDE;
|
D | url_request_about_job.cc | 31 bool URLRequestAboutJob::GetMimeType(std::string* mime_type) const { in GetMimeType() function in net::URLRequestAboutJob
|
/external/chromium/chrome/browser/ui/webui/options/chromeos/ |
D | user_image_source.h | 29 virtual std::string GetMimeType(const std::string&) const;
|
/external/chromium/chrome/browser/remoting/ |
D | remoting_resources_source.h | 19 virtual std::string GetMimeType(const std::string& path) const;
|
/external/chromium/chrome/browser/printing/cloud_print/ |
D | cloud_print_setup_source.h | 21 virtual std::string GetMimeType(const std::string& path) const;
|