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

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

Issue 6646051: Fix DCHECK, memory leak, and refactor PasswordStore to use CancelableRequest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use non-zero tests until http://crbug.com/77650 is addressed. Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/testing_automation_provider.h" 5 #include "chrome/browser/automation/testing_automation_provider.h"
6 6
7 #include <map> 7 #include <map>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 #include "chrome/browser/download/download_shelf.h" 44 #include "chrome/browser/download/download_shelf.h"
45 #include "chrome/browser/extensions/extension_host.h" 45 #include "chrome/browser/extensions/extension_host.h"
46 #include "chrome/browser/extensions/extension_service.h" 46 #include "chrome/browser/extensions/extension_service.h"
47 #include "chrome/browser/history/top_sites.h" 47 #include "chrome/browser/history/top_sites.h"
48 #include "chrome/browser/importer/importer_host.h" 48 #include "chrome/browser/importer/importer_host.h"
49 #include "chrome/browser/instant/instant_controller.h" 49 #include "chrome/browser/instant/instant_controller.h"
50 #include "chrome/browser/notifications/balloon.h" 50 #include "chrome/browser/notifications/balloon.h"
51 #include "chrome/browser/notifications/balloon_collection.h" 51 #include "chrome/browser/notifications/balloon_collection.h"
52 #include "chrome/browser/notifications/notification.h" 52 #include "chrome/browser/notifications/notification.h"
53 #include "chrome/browser/notifications/notification_ui_manager.h" 53 #include "chrome/browser/notifications/notification_ui_manager.h"
54 #include "chrome/browser/password_manager/password_store.h"
54 #include "chrome/browser/platform_util.h" 55 #include "chrome/browser/platform_util.h"
55 #include "chrome/browser/prefs/pref_service.h" 56 #include "chrome/browser/prefs/pref_service.h"
56 #include "chrome/browser/profiles/profile.h" 57 #include "chrome/browser/profiles/profile.h"
57 #include "chrome/browser/profiles/profile_manager.h" 58 #include "chrome/browser/profiles/profile_manager.h"
58 #include "chrome/browser/search_engines/template_url.h" 59 #include "chrome/browser/search_engines/template_url.h"
59 #include "chrome/browser/search_engines/template_url_model.h" 60 #include "chrome/browser/search_engines/template_url_model.h"
60 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h" 61 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h"
61 #include "chrome/browser/tab_contents/link_infobar_delegate.h" 62 #include "chrome/browser/tab_contents/link_infobar_delegate.h"
62 #include "chrome/browser/themes/theme_service.h" 63 #include "chrome/browser/themes/theme_service.h"
63 #include "chrome/browser/themes/theme_service_factory.h" 64 #include "chrome/browser/themes/theme_service_factory.h"
(...skipping 5140 matching lines...) Expand 10 before | Expand all | Expand 10 after
5204 // If you change this, update Observer for NotificationType::SESSION_END 5205 // If you change this, update Observer for NotificationType::SESSION_END
5205 // below. 5206 // below.
5206 MessageLoop::current()->PostTask(FROM_HERE, 5207 MessageLoop::current()->PostTask(FROM_HERE,
5207 NewRunnableMethod(this, &TestingAutomationProvider::OnRemoveProvider)); 5208 NewRunnableMethod(this, &TestingAutomationProvider::OnRemoveProvider));
5208 } 5209 }
5209 } 5210 }
5210 5211
5211 void TestingAutomationProvider::OnRemoveProvider() { 5212 void TestingAutomationProvider::OnRemoveProvider() {
5212 AutomationProviderList::GetInstance()->RemoveProvider(this); 5213 AutomationProviderList::GetInstance()->RemoveProvider(this);
5213 } 5214 }
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_provider_observers.cc ('k') | chrome/browser/password_manager/password_form_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698