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

Side by Side Diff: chrome/browser/extensions/extension_app_api.cc

Issue 7342047: Cleanup base/stl_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed unneeded include + rebase Created 9 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 | 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/extensions/extension_app_api.h" 5 #include "chrome/browser/extensions/extension_app_api.h"
6 6
7 #include "base/stl_util-inl.h" 7 #include "base/stl_util.h"
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "chrome/browser/extensions/extension_service.h" 9 #include "chrome/browser/extensions/extension_service.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/common/chrome_notification_types.h" 11 #include "chrome/common/chrome_notification_types.h"
12 #include "chrome/common/extensions/extension.h" 12 #include "chrome/common/extensions/extension.h"
13 #include "chrome/common/render_messages.h" 13 #include "chrome/common/render_messages.h"
14 #include "content/common/notification_service.h" 14 #include "content/common/notification_service.h"
15 15
16 16
17 const char kBodyTextKey[] = "bodyText"; 17 const char kBodyTextKey[] = "bodyText";
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 159
160 AppNotificationManager* manager = 160 AppNotificationManager* manager =
161 profile()->GetExtensionService()->app_notification_manager(); 161 profile()->GetExtensionService()->app_notification_manager();
162 manager->ClearAll(id); 162 manager->ClearAll(id);
163 NotificationService::current()->Notify( 163 NotificationService::current()->Notify(
164 chrome::NOTIFICATION_APP_NOTIFICATION_STATE_CHANGED, 164 chrome::NOTIFICATION_APP_NOTIFICATION_STATE_CHANGED,
165 Source<Profile>(profile_), 165 Source<Profile>(profile_),
166 Details<const std::string>(&id)); 166 Details<const std::string>(&id));
167 return true; 167 return true;
168 } 168 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698