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

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

Issue 634313004: Display dialog when app install succeeds / fails on Athena (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/extensions/navigation_observer.h" 5 #include "chrome/browser/extensions/navigation_observer.h"
6 6
7 #include "chrome/browser/extensions/extension_install_ui.h"
8 #include "chrome/browser/extensions/extension_service.h" 7 #include "chrome/browser/extensions/extension_service.h"
9 #include "chrome/browser/profiles/profile.h" 8 #include "chrome/browser/profiles/profile.h"
10 #include "content/public/browser/navigation_controller.h" 9 #include "content/public/browser/navigation_controller.h"
11 #include "content/public/browser/navigation_entry.h" 10 #include "content/public/browser/navigation_entry.h"
12 #include "content/public/browser/notification_service.h" 11 #include "content/public/browser/notification_service.h"
13 #include "content/public/browser/notification_types.h" 12 #include "content/public/browser/notification_types.h"
14 #include "extensions/browser/extension_prefs.h" 13 #include "extensions/browser/extension_prefs.h"
15 #include "extensions/browser/extension_registry.h" 14 #include "extensions/browser/extension_registry.h"
16 #include "extensions/browser/extension_system.h" 15 #include "extensions/browser/extension_system.h"
17 16
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 extension_install_prompt_.reset(); 112 extension_install_prompt_.reset();
114 113
115 std::string histogram_name = user_initiated 114 std::string histogram_name = user_initiated
116 ? "Extensions.Permissions_ReEnableCancel2" 115 ? "Extensions.Permissions_ReEnableCancel2"
117 : "Extensions.Permissions_ReEnableAbort2"; 116 : "Extensions.Permissions_ReEnableAbort2";
118 ExtensionService::RecordPermissionMessagesHistogram( 117 ExtensionService::RecordPermissionMessagesHistogram(
119 extension, histogram_name.c_str()); 118 extension, histogram_name.c_str());
120 } 119 }
121 120
122 } // namespace extensions 121 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_service.cc ('k') | chrome/browser/extensions/unpacked_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698