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

Side by Side Diff: chrome/browser/automation/automation_provider_observers.cc

Issue 10683003: Moved CrxInstaller and CrxInstallerError into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 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
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/automation/automation_provider_observers.h" 5 #include "chrome/browser/automation/automation_provider_observers.h"
6 6
7 #include <deque> 7 #include <deque>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 724 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 // loaded, or else the install has been skipped because it is 735 // loaded, or else the install has been skipped because it is
736 // either not allowed or else has been disabled. 736 // either not allowed or else has been disabled.
737 const extensions::Extension* extension = 737 const extensions::Extension* extension =
738 content::Details<extensions::Extension>(details).ptr(); 738 content::Details<extensions::Extension>(details).ptr();
739 in_progress_updates_.erase(extension->id()); 739 in_progress_updates_.erase(extension->id());
740 break; 740 break;
741 } 741 }
742 742
743 case chrome::NOTIFICATION_EXTENSION_INSTALL_ERROR: { 743 case chrome::NOTIFICATION_EXTENSION_INSTALL_ERROR: {
744 // An extension had an error on update installation. 744 // An extension had an error on update installation.
745 CrxInstaller* installer = content::Source<CrxInstaller>(source).ptr(); 745 extensions::CrxInstaller* installer =
746 content::Source<extensions::CrxInstaller>(source).ptr();
746 in_progress_updates_.erase(installer->expected_id()); 747 in_progress_updates_.erase(installer->expected_id());
747 break; 748 break;
748 } 749 }
749 750
750 case content::NOTIFICATION_LOAD_STOP: 751 case content::NOTIFICATION_LOAD_STOP:
751 // Break out to the conditional check below to see if all extension views 752 // Break out to the conditional check below to see if all extension views
752 // have stopped loading. 753 // have stopped loading.
753 break; 754 break;
754 755
755 default: 756 default:
(...skipping 2338 matching lines...) Expand 10 before | Expand all | Expand 10 after
3094 AutomationJSONReply(automation_, reply_message_.release()) 3095 AutomationJSONReply(automation_, reply_message_.release())
3095 .SendSuccess(NULL); 3096 .SendSuccess(NULL);
3096 } 3097 }
3097 delete this; 3098 delete this;
3098 } 3099 }
3099 } else { 3100 } else {
3100 NOTREACHED(); 3101 NOTREACHED();
3101 } 3102 }
3102 } 3103 }
3103 3104
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/automation/testing_automation_provider.cc » ('j') | chrome/browser/extensions/crx_installer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698