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

Unified Diff: chrome/renderer/greasemonkey_slave.h

Issue 10895: Add Terminate() to the Process object, have RenderProcessHost use this to avo... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/plugin/webplugin_proxy.cc ('k') | chrome/renderer/greasemonkey_slave.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/greasemonkey_slave.h
===================================================================
--- chrome/renderer/greasemonkey_slave.h (revision 5371)
+++ chrome/renderer/greasemonkey_slave.h (working copy)
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_RENDERER_GREASEMONKEY_SLAVE_H__
-#define CHROME_RENDERER_GREASEMONKEY_SLAVE_H__
+#ifndef CHROME_RENDERER_GREASEMONKEY_SLAVE_H_
+#define CHROME_RENDERER_GREASEMONKEY_SLAVE_H_
#include "base/scoped_ptr.h"
#include "base/shared_memory.h"
@@ -75,7 +75,7 @@
GreasemonkeySlave();
// Update the parsed scripts from shared memory.
- bool UpdateScripts(SharedMemoryHandle shared_memory);
+ bool UpdateScripts(base::SharedMemoryHandle shared_memory);
// Inject the appropriate scripts into a frame based on its URL.
// TODO(aa): Extract a GreasemonkeyFrame interface out of this to improve
@@ -84,7 +84,7 @@
private:
// Shared memory containing raw script data.
- scoped_ptr<SharedMemory> shared_memory_;
+ scoped_ptr<base::SharedMemory> shared_memory_;
// Parsed script data.
std::vector<GreasemonkeyScript> scripts_;
@@ -92,4 +92,4 @@
DISALLOW_COPY_AND_ASSIGN(GreasemonkeySlave);
};
-#endif // CHROME_RENDERER_GREASEMONKEY_SLAVE_H__
+#endif // CHROME_RENDERER_GREASEMONKEY_SLAVE_H_
« no previous file with comments | « chrome/plugin/webplugin_proxy.cc ('k') | chrome/renderer/greasemonkey_slave.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698