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

Unified Diff: chrome/browser/extensions/user_script_listener_unittest.cc

Issue 274040: More style nits. (Closed)
Patch Set: Created 11 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/user_script_listener_unittest.cc
diff --git a/chrome/browser/extensions/user_script_listener_unittest.cc b/chrome/browser/extensions/user_script_listener_unittest.cc
index ee5299f267dab2dd4cb08d1fd630c6d190900e19..1b419ad1bd81bac16fd1fa7fc5324420d5b6f722 100644
--- a/chrome/browser/extensions/user_script_listener_unittest.cc
+++ b/chrome/browser/extensions/user_script_listener_unittest.cc
@@ -29,9 +29,9 @@ class SimpleTestJob : public URLRequestTestJob {
};
class MockUserScriptMaster : public UserScriptMaster {
-public:
- MockUserScriptMaster(MessageLoop* worker, const FilePath& script_dir) :
- UserScriptMaster(worker, script_dir) { }
+ public:
+ explicit MockUserScriptMaster(MessageLoop* worker, const FilePath& script_dir)
+ : UserScriptMaster(worker, script_dir) { }
brettw 2009/10/14 02:08:51 Since you're here, no space in the {}
virtual void StartScan() {
// Do nothing. We want to manually control when scans occur.
@@ -59,12 +59,12 @@ class MockIOThread : public base::Thread {
};
// A class to help with making and handling resource requests.
-class ResourceDispatcherHostTester :
- public ResourceDispatcherHost::Receiver,
- public URLRequest::Interceptor,
- public base::RefCountedThreadSafe<ResourceDispatcherHostTester> {
+class ResourceDispatcherHostTester
+ : public ResourceDispatcherHost::Receiver,
+ public URLRequest::Interceptor,
+ public base::RefCountedThreadSafe<ResourceDispatcherHostTester> {
public:
- ResourceDispatcherHostTester(MessageLoop* io_loop)
+ explicit ResourceDispatcherHostTester(MessageLoop* io_loop)
: Receiver(ChildProcessInfo::RENDER_PROCESS, -1),
host_(io_loop),
ui_loop_(MessageLoop::current()),

Powered by Google App Engine
This is Rietveld 408576698