summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-11 17:36:50 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-11 17:36:50 +0000
commit4a3dab23cadf0cbe68bd82c06fd970ae8b1d7e10 (patch)
tree588a0a6d8a51fc54a3951690cafb753ec6a75ae6 /chrome/browser/net
parent53976e824cf83d5151b8415b1a0f5c67ec97f7aa (diff)
downloadchromium_src-4a3dab23cadf0cbe68bd82c06fd970ae8b1d7e10.zip
chromium_src-4a3dab23cadf0cbe68bd82c06fd970ae8b1d7e10.tar.gz
chromium_src-4a3dab23cadf0cbe68bd82c06fd970ae8b1d7e10.tar.bz2
A large number of style nits in preparation for turning on automated cpplint.py.
Review URL: http://codereview.chromium.org/385023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31669 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/net')
-rw-r--r--chrome/browser/net/chrome_url_request_context.cc4
-rw-r--r--chrome/browser/net/url_fetcher_unittest.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/net/chrome_url_request_context.cc b/chrome/browser/net/chrome_url_request_context.cc
index eb71147..c75243c 100644
--- a/chrome/browser/net/chrome_url_request_context.cc
+++ b/chrome/browser/net/chrome_url_request_context.cc
@@ -240,7 +240,7 @@ ChromeURLRequestContext* FactoryForExtensions::Create() {
// Factory that creates the ChromeURLRequestContext for incognito profile.
class FactoryForOffTheRecord : public ChromeURLRequestContextFactory {
public:
- FactoryForOffTheRecord(Profile* profile)
+ explicit FactoryForOffTheRecord(Profile* profile)
: ChromeURLRequestContextFactory(profile),
original_context_getter_(
static_cast<ChromeURLRequestContextGetter*>(
@@ -303,7 +303,7 @@ ChromeURLRequestContext* FactoryForOffTheRecord::Create() {
class FactoryForOffTheRecordExtensions
: public ChromeURLRequestContextFactory {
public:
- FactoryForOffTheRecordExtensions(Profile* profile)
+ explicit FactoryForOffTheRecordExtensions(Profile* profile)
: ChromeURLRequestContextFactory(profile) {}
virtual ChromeURLRequestContext* Create();
diff --git a/chrome/browser/net/url_fetcher_unittest.cc b/chrome/browser/net/url_fetcher_unittest.cc
index d186b40..a9141e9 100644
--- a/chrome/browser/net/url_fetcher_unittest.cc
+++ b/chrome/browser/net/url_fetcher_unittest.cc
@@ -167,7 +167,7 @@ class CancelTestURLRequestContext : public TestURLRequestContext {
class CancelTestURLRequestContextGetter : public URLRequestContextGetter {
public:
- CancelTestURLRequestContextGetter(bool* destructor_called)
+ explicit CancelTestURLRequestContextGetter(bool* destructor_called)
: destructor_called_(destructor_called) {
}