Minimise logging in release branch.

Make the release branch have minimal logging like offical Chrome. Also
disable NOTIMPLEMENTED() as the messages generated are not actionable by
app developers.

Bug: 11505403
Change-Id: I1513f6e90fe067a6564b3cc19731091e25ba0c97
diff --git a/base/logging.h b/base/logging.h
index 71f391f..5b5be71 100644
--- a/base/logging.h
+++ b/base/logging.h
@@ -477,10 +477,10 @@
 // Official release builds always disable and remove DCHECK and DLOG.
 #undef LOGGING_IS_OFFICIAL_BUILD
 #define LOGGING_IS_OFFICIAL_BUILD 1
-#elif !defined(LOGGING_IS_OFFICIAL_BUILD)
-// Unless otherwise specified, unofficial release builds include
-// DCHECK and DLOG.
-#define LOGGING_IS_OFFICIAL_BUILD 0
+#else
+// WebView: Force logging off in Android release branch.
+#undef LOGGING_IS_OFFICIAL_BUILD
+#define LOGGING_IS_OFFICIAL_BUILD 1
 #endif
 
 // The actual stream used isn't important.
@@ -991,8 +991,8 @@
 #if defined(OS_ANDROID) && defined(OFFICIAL_BUILD)
 #define NOTIMPLEMENTED_POLICY 0
 #else
-// Select default policy: LOG(ERROR)
-#define NOTIMPLEMENTED_POLICY 4
+// WebView: Hide NOTIMPLEMENTED entirely in Android release branch.
+#define NOTIMPLEMENTED_POLICY 0
 #endif
 #endif