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

Unified Diff: chrome/browser/greasemonkey_master.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/browser/first_run.cc ('k') | chrome/browser/greasemonkey_master.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/greasemonkey_master.h
===================================================================
--- chrome/browser/greasemonkey_master.h (revision 5371)
+++ chrome/browser/greasemonkey_master.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_BROWSER_GREASEMONKEY_MASTER_H__
-#define CHROME_BROWSER_GREASEMONKEY_MASTER_H__
+#ifndef CHROME_BROWSER_GREASEMONKEY_MASTER_H_
+#define CHROME_BROWSER_GREASEMONKEY_MASTER_H_
#include "base/directory_watcher.h"
#include "base/process.h"
@@ -24,12 +24,12 @@
~GreasemonkeyMaster();
// Gets the segment of shared memory for the scripts.
- SharedMemory* GetSharedMemory() const {
+ base::SharedMemory* GetSharedMemory() const {
return shared_memory_.get();
}
// Called by the script reloader when new scripts have been loaded.
- void NewScriptsAvailable(SharedMemory* handle);
+ void NewScriptsAvailable(base::SharedMemory* handle);
// Return true if we have any scripts ready.
bool ScriptsReady() const { return shared_memory_.get() != NULL; }
@@ -59,7 +59,7 @@
scoped_refptr<ScriptReloader> script_reloader_;
// Contains the scripts that were found the last time scripts were updated.
- scoped_ptr<SharedMemory> shared_memory_;
+ scoped_ptr<base::SharedMemory> shared_memory_;
// If the script directory is modified while we're rescanning it, we note
// that we're currently mid-scan and then start over again once the scan
@@ -69,4 +69,4 @@
DISALLOW_COPY_AND_ASSIGN(GreasemonkeyMaster);
};
-#endif // CHROME_BROWSER_GREASEMONKEY_MASTER_H__
+#endif // CHROME_BROWSER_GREASEMONKEY_MASTER_H_
« no previous file with comments | « chrome/browser/first_run.cc ('k') | chrome/browser/greasemonkey_master.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698