Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Side by Side Diff: webkit/glue/webkit_glue.cc

Issue 253001: <video> use cache if --enable-byte-range-support is present (Closed)
Patch Set: updated Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« webkit/glue/webkit_glue.h ('K') | « webkit/glue/webkit_glue.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 #include "webkit/glue/webkit_glue.h" 6 #include "webkit/glue/webkit_glue.h"
7 7
8 #if defined(OS_WIN) 8 #if defined(OS_WIN)
9 #include <objidl.h> 9 #include <objidl.h>
10 #include <mlang.h> 10 #include <mlang.h>
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 #else 472 #else
473 NOTIMPLEMENTED(); 473 NOTIMPLEMENTED();
474 return NULL; 474 return NULL;
475 #endif 475 #endif
476 } 476 }
477 477
478 int GetGlyphPageCount() { 478 int GetGlyphPageCount() {
479 return WebCore::GlyphPageTreeNode::treeGlyphPageCount(); 479 return WebCore::GlyphPageTreeNode::treeGlyphPageCount();
480 } 480 }
481 481
482 bool g_enable_media_cache = false;
483
484 bool IsMediaCacheEnabled() {
485 return g_enable_media_cache;
486 }
487
488 void SetMediaCacheEnabled() {
489 g_enable_media_cache = true;
490 }
491
482 } // namespace webkit_glue 492 } // namespace webkit_glue
OLDNEW
« webkit/glue/webkit_glue.h ('K') | « webkit/glue/webkit_glue.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698