Commit 17ac9a40 authored by simonb@chromium.org's avatar simonb@chromium.org

Fix cpplint warnings.

Fixes:
base/android/linker/linker_jni.cc:300:  Single-parameter constructors should be marked explicit.  [runtime/explicit] [5]
base/android/linker/linker_jni.cc:313:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]
base/android/linker/linker_jni.cc:319:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]
base/android/linker/linker_jni.cc:320:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]

BUG=

Review URL: https://codereview.chromium.org/470943002

Cr-Commit-Position: refs/heads/master@{#289642}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289642 0039d316-1c4b-4281-b951-d872f2087c98
parent fe72eb2e
...@@ -297,7 +297,7 @@ bool FileLibraryOpener::Open( ...@@ -297,7 +297,7 @@ bool FileLibraryOpener::Open(
// Used for opening the library in a zip file. // Used for opening the library in a zip file.
class ZipLibraryOpener { class ZipLibraryOpener {
public: public:
ZipLibraryOpener(const char* zip_file) : zip_file_(zip_file) {} explicit ZipLibraryOpener(const char* zip_file) : zip_file_(zip_file) {}
bool Open( bool Open(
crazy_library_t** library, crazy_library_t** library,
const char* library_name, const char* library_name,
...@@ -310,14 +310,14 @@ bool ZipLibraryOpener::Open( ...@@ -310,14 +310,14 @@ bool ZipLibraryOpener::Open(
crazy_library_t** library, crazy_library_t** library,
const char* library_name, const char* library_name,
crazy_context_t* context) const { crazy_context_t* context) const {
if (!crazy_library_open_in_zip_file( if (!crazy_library_open_in_zip_file(
library, zip_file_, library_name, context)) { library, zip_file_, library_name, context)) {
LOG_ERROR("%s: Could not open %s in zip file %s: %s", LOG_ERROR("%s: Could not open %s in zip file %s: %s",
__FUNCTION__, library_name, zip_file_, __FUNCTION__, library_name, zip_file_,
crazy_context_get_error(context)); crazy_context_get_error(context));
return false; return false;
} }
return true; return true;
} }
} // unnamed namespace } // unnamed namespace
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment