summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chrome_browser_main.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-26 12:37:49 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-26 12:37:49 +0000
commit297fb7c2d7bef29269a234ec534ff475735f22d9 (patch)
tree06e1a28701bbeddd65125e596cf62308f1f438a0 /chrome/browser/chrome_browser_main.cc
parent35797f4239f409a72a74b18802c5c66046cf65d4 (diff)
downloadchromium_src-297fb7c2d7bef29269a234ec534ff475735f22d9.zip
chromium_src-297fb7c2d7bef29269a234ec534ff475735f22d9.tar.gz
chromium_src-297fb7c2d7bef29269a234ec534ff475735f22d9.tar.bz2
browser: Do the check for network profile outside of views.
In a cross platform class called NetworkProfileBubble. Hence we first renamed the views class to NetworkProfileBubbleView in r143945 (https://chromiumcodereview.appspot.com/10666021) This removes the dependency in views from chrome_browser_main.cc BUG=125846 R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10667018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144162 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chrome_browser_main.cc')
-rw-r--r--chrome/browser/chrome_browser_main.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index ec92ecf..bf106a4 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -153,7 +153,7 @@
#include "chrome/browser/first_run/try_chrome_dialog_view.h"
#include "chrome/browser/first_run/upgrade_util_win.h"
#include "chrome/browser/net/url_fixer_upper.h"
-#include "chrome/browser/ui/views/network_profile_bubble_view.h"
+#include "chrome/browser/ui/network_profile_bubble.h"
#include "chrome/installer/util/helper.h"
#include "chrome/installer/util/install_util.h"
#include "chrome/installer/util/shell_util.h"
@@ -1659,9 +1659,9 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
// Verify that the profile is not on a network share and if so prepare to show
// notification to the user.
- if (NetworkProfileBubbleView::ShouldCheckNetworkProfile(profile_)) {
+ if (NetworkProfileBubble::ShouldCheckNetworkProfile(profile_)) {
content::BrowserThread::PostTask(content::BrowserThread::FILE, FROM_HERE,
- base::Bind(&NetworkProfileBubbleView::CheckNetworkProfile, profile_));
+ base::Bind(&NetworkProfileBubble::CheckNetworkProfile, profile_));
}
#endif // OS_WIN