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

Side by Side Diff: trunk/src/chrome/browser/extensions/external_install_ui.cc

Issue 309483012: Revert 273982 "Refactor external_install_ui" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/extensions/external_install_ui.h" 5 #include "chrome/browser/extensions/external_install_ui.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after
581 581
582 bool HasExternalInstallBubble(ExtensionService* service) { 582 bool HasExternalInstallBubble(ExtensionService* service) {
583 GlobalErrorService* error_service = 583 GlobalErrorService* error_service =
584 GlobalErrorServiceFactory::GetForProfile(service->profile()); 584 GlobalErrorServiceFactory::GetForProfile(service->profile());
585 GlobalError* error = error_service->GetGlobalErrorByMenuItemCommandID( 585 GlobalError* error = error_service->GetGlobalErrorByMenuItemCommandID(
586 kMenuCommandId); 586 kMenuCommandId);
587 return error && error->HasBubbleView(); 587 return error && error->HasBubbleView();
588 } 588 }
589 589
590 } // namespace extensions 590 } // namespace extensions
OLDNEW
« no previous file with comments | « trunk/src/chrome/browser/extensions/external_install_ui.h ('k') | trunk/src/chrome/chrome_browser_extensions.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698