forked from Pissandshittium/pissandshittium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename RenderProcessObserver to RenderThreadObserver
The class is used for observing RenderThread. The following files were actually not using the class. So, just removed the include (and added missing include if any). - content/renderer/cache_storage/cache_storage_dispatcher.h - content/renderer/media/media_stream_center.h - content/renderer/media/webrtc/peer_connection_dependency_factory.h - extensions/renderer/user_script_set.h Renaming was performed using sed like the followings: find chrome/ content/ components extensions/ \( ! -regex '.*/\..*' \) -type f -print0 | xargs -0 sed -i 's|RENDER_PROCESS_OBSERVER|RENDER_THREAD_OBSERVER|g' BUG=none R=jochen,nyquist,sgurun,slan Review URL: https://codereview.chromium.org/1883073003 Cr-Commit-Position: refs/heads/master@{#387870}
- Loading branch information
Showing
69 changed files
with
297 additions
and
299 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// Copyright (c) 2012 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#ifndef ANDROID_WEBVIEW_RENDERER_AW_RENDER_THREAD_OBSERVER_H_ | ||
#define ANDROID_WEBVIEW_RENDERER_AW_RENDER_THREAD_OBSERVER_H_ | ||
|
||
#include "content/public/renderer/render_thread_observer.h" | ||
|
||
#include "base/compiler_specific.h" | ||
|
||
namespace android_webview { | ||
|
||
// A RenderThreadObserver implementation used for handling android_webview | ||
// specific render-process wide IPC messages. | ||
class AwRenderThreadObserver : public content::RenderThreadObserver { | ||
public: | ||
AwRenderThreadObserver(); | ||
~AwRenderThreadObserver() override; | ||
|
||
// content::RenderThreadObserver implementation. | ||
bool OnControlMessageReceived(const IPC::Message& message) override; | ||
|
||
private: | ||
void OnClearCache(); | ||
void OnSetJsOnlineProperty(bool network_up); | ||
}; | ||
|
||
} // namespace android_webview | ||
|
||
#endif // ANDROID_WEBVIEW_RENDERER_AW_RENDER_THREAD_OBSERVER_H_ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.