f9b27c588955a9b30b645fd38a3e7748db3a0048
[platform/framework/web/chromium-efl.git] / tizen_src / ewk / efl_integration / public / ewk_application_cache_manager.cc
1 // Copyright 2014 Samsung Electronics. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ewk_application_cache_manager.h"
6 #include "ewk_context.h"
7 #include "private/ewk_private.h"
8 #include "tizen/system_info.h"
9
10 Eina_Bool ewk_application_cache_manager_clear(Ewk_Application_Cache_Manager* manager)
11 {
12   if (IsTvProfile())
13     return ewk_context_application_cache_delete_all(ewk_context_default_get());
14   else
15     return EINA_FALSE;
16 }