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

Side by Side Diff: chrome/browser/ui/network_profile_bubble.cc

Issue 1845083003: Remove "#pragma comment(lib" in chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/ui/network_profile_bubble.h" 5 #include "chrome/browser/ui/network_profile_bubble.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <wtsapi32.h> 10 #include <wtsapi32.h>
11 // Make sure we link the wtsapi lib file in.
12 #pragma comment(lib, "wtsapi32.lib")
13 11
14 #include "base/bind.h" 12 #include "base/bind.h"
15 #include "base/command_line.h" 13 #include "base/command_line.h"
16 #include "base/files/file_path.h" 14 #include "base/files/file_path.h"
17 #include "base/files/file_util.h" 15 #include "base/files/file_util.h"
18 #include "base/logging.h" 16 #include "base/logging.h"
19 #include "base/metrics/histogram.h" 17 #include "base/metrics/histogram.h"
20 #include "base/time/time.h" 18 #include "base/time/time.h"
21 #include "chrome/browser/browser_process.h" 19 #include "chrome/browser/browser_process.h"
22 #include "chrome/browser/profiles/profile.h" 20 #include "chrome/browser/profiles/profile.h"
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 172
175 // static 173 // static
176 void NetworkProfileBubble::NotifyNetworkProfileDetected() { 174 void NetworkProfileBubble::NotifyNetworkProfileDetected() {
177 Browser* browser = chrome::FindLastActive(); 175 Browser* browser = chrome::FindLastActive();
178 176
179 if (browser) 177 if (browser)
180 ShowNotification(browser); 178 ShowNotification(browser);
181 else 179 else
182 BrowserList::AddObserver(new BrowserListObserver()); 180 BrowserList::AddObserver(new BrowserListObserver());
183 } 181 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698