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

Side by Side Diff: android_webview/renderer/aw_render_thread_observer.cc

Issue 2675303004: Move WebCache from public/web into public/platform (Closed)
Patch Set: . Created 3 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/DEPS » ('j') | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "android_webview/renderer/aw_render_thread_observer.h" 5 #include "android_webview/renderer/aw_render_thread_observer.h"
6 6
7 #include "android_webview/common/render_view_messages.h" 7 #include "android_webview/common/render_view_messages.h"
8 #include "ipc/ipc_message_macros.h" 8 #include "ipc/ipc_message_macros.h"
9 #include "third_party/WebKit/public/web/WebCache.h" 9 #include "third_party/WebKit/public/platform/WebCache.h"
10 #include "third_party/WebKit/public/web/WebNetworkStateNotifier.h" 10 #include "third_party/WebKit/public/web/WebNetworkStateNotifier.h"
11 11
12 namespace android_webview { 12 namespace android_webview {
13 13
14 AwRenderThreadObserver::AwRenderThreadObserver() { 14 AwRenderThreadObserver::AwRenderThreadObserver() {
15 } 15 }
16 16
17 AwRenderThreadObserver::~AwRenderThreadObserver() { 17 AwRenderThreadObserver::~AwRenderThreadObserver() {
18 } 18 }
19 19
(...skipping 10 matching lines...) Expand all
30 30
31 void AwRenderThreadObserver::OnClearCache() { 31 void AwRenderThreadObserver::OnClearCache() {
32 blink::WebCache::clear(); 32 blink::WebCache::clear();
33 } 33 }
34 34
35 void AwRenderThreadObserver::OnSetJsOnlineProperty(bool network_up) { 35 void AwRenderThreadObserver::OnSetJsOnlineProperty(bool network_up) {
36 blink::WebNetworkStateNotifier::setOnLine(network_up); 36 blink::WebNetworkStateNotifier::setOnLine(network_up);
37 } 37 }
38 38
39 } // nanemspace android_webview 39 } // nanemspace android_webview
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698