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

Side by Side Diff: chrome/browser/chrome_webusb_browser_client.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « chrome/browser/chrome_switches_browsertest.cc ('k') | chrome/browser/command_updater.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/chrome_webusb_browser_client.h" 5 #include "chrome/browser/chrome_webusb_browser_client.h"
6 6
7 #include "base/macros.h"
7 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
8 #include "chrome/browser/net/referrer.h" 9 #include "chrome/browser/net/referrer.h"
9 #include "chrome/browser/profiles/profile_manager.h" 10 #include "chrome/browser/profiles/profile_manager.h"
10 #include "chrome/browser/ui/browser.h" 11 #include "chrome/browser/ui/browser.h"
11 #include "chrome/browser/ui/host_desktop.h" 12 #include "chrome/browser/ui/host_desktop.h"
12 #include "chrome/browser/ui/scoped_tabbed_browser_displayer.h" 13 #include "chrome/browser/ui/scoped_tabbed_browser_displayer.h"
13 #include "chrome/grit/generated_resources.h" 14 #include "chrome/grit/generated_resources.h"
14 #include "chrome/grit/theme_resources.h" 15 #include "chrome/grit/theme_resources.h"
15 #include "content/public/common/origin_util.h" 16 #include "content/public/common/origin_util.h"
16 #include "ui/base/l10n/l10n_util.h" 17 #include "ui/base/l10n/l10n_util.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 } 100 }
100 101
101 void ChromeWebUsbBrowserClient::OnDeviceRemoved( 102 void ChromeWebUsbBrowserClient::OnDeviceRemoved(
102 const std::string& notification_id) { 103 const std::string& notification_id) {
103 message_center::MessageCenter* message_center = 104 message_center::MessageCenter* message_center =
104 message_center::MessageCenter::Get(); 105 message_center::MessageCenter::Get();
105 if (message_center->FindVisibleNotificationById(notification_id)) { 106 if (message_center->FindVisibleNotificationById(notification_id)) {
106 message_center->RemoveNotification(notification_id, false /* by_user */); 107 message_center->RemoveNotification(notification_id, false /* by_user */);
107 } 108 }
108 } 109 }
OLDNEW
« no previous file with comments | « chrome/browser/chrome_switches_browsertest.cc ('k') | chrome/browser/command_updater.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698