For debugging/testing, introduce method to switch debug mode dynamically, and set...
commit79dd368ef07ff34f134ad0349a5065f77488c91d
authorvadimt@chromium.org <vadimt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 19 Oct 2013 16:53:02 +0000 (19 16:53 +0000)
committervadimt@chromium.org <vadimt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 19 Oct 2013 16:53:02 +0000 (19 16:53 +0000)
tree3c4b05f367f185b576b94188a6d84f20ea0b3ef8
parent6243aa16ff0c14fb1df4b6dc63db262bed067c83
For debugging/testing, introduce method to switch debug mode dynamically, and set data source.

Calling initializeDebug() from Dev Console allows flipping debug mode without restarting the browser.

Testers can use default data source, or override it manually.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229588 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/resources/google_now/background.js
chrome/browser/resources/google_now/background_test_util.js
chrome/browser/resources/google_now/background_unittest.gtestjs
chrome/browser/resources/google_now/manifest.json
chrome/browser/resources/google_now/utility.js