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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 12508004: Enabling testing Google Now component extension (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rgustafson's notes Created 7 years, 9 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/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index 8c6d16071d4c978122db4f3ade928d8e54be1dcf..b5758e406bdab8ae6a2f40c8e821e05895111175 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -1056,10 +1056,11 @@ void ChromeBrowserMainParts::PostBrowserStart() {
// Create the instance of the Google Now service.
#if defined(ENABLE_GOOGLE_NOW)
- if (CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableGoogleNowIntegration)) {
- GoogleNowServiceFactory::GetForProfile(profile_);
- }
+ // TODO(vadim): Remove C++ Google Now implementation.
+ // if (CommandLine::ForCurrentProcess()->HasSwitch(
+ // switches::kEnableGoogleNowIntegration)) {
skare_ 2013/03/06 22:08:01 can this block just be removed altogether, and fil
vadimt 2013/03/06 22:37:12 This text has 2 parts: (1) TODO item. TODO's are
skare_ 2013/03/07 00:56:39 1) consider an actual bug for this case since we'l
vadimt 2013/03/07 22:33:07 Removed. We have a TODO item in JS code to remove
+ // GoogleNowServiceFactory::GetForProfile(profile_);
+ // }
#endif
for (size_t i = 0; i < chrome_extra_parts_.size(); ++i)

Powered by Google App Engine
This is Rietveld 408576698