Commit e764e582 authored by tfarina@chromium.org's avatar tfarina@chromium.org

chrome: Move browser_otr_state.h into chrome namespace.

BUG=133088
TBR=ben@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10831084

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149364 0039d316-1c4b-4281-b951-d872f2087c98
parent c0baf235
......@@ -1864,7 +1864,7 @@ bool MetricsService::CanLogNotification(
// We simply don't log anything to UMA if there is a single incognito
// session visible. The problem is that we always notify using the orginal
// profile in order to simplify notification processing.
return !browser::IsOffTheRecordSessionActive();
return !chrome::IsOffTheRecordSessionActive();
}
void MetricsService::RecordBooleanPrefValue(const char* path, bool value) {
......
......@@ -6,10 +6,10 @@
#include "chrome/browser/ui/browser_list.h"
namespace browser {
namespace chrome {
bool IsOffTheRecordSessionActive() {
return BrowserList::IsOffTheRecordSessionActive();
}
}
} // namespace chrome
......@@ -5,10 +5,10 @@
#ifndef CHROME_BROWSER_UI_BROWSER_OTR_STATE_H_
#define CHROME_BROWSER_UI_BROWSER_OTR_STATE_H_
namespace browser {
namespace chrome {
bool IsOffTheRecordSessionActive();
}
} // namespace chrome
#endif // CHROME_BROWSER_UI_BROWSER_OTR_STATE_H_
......@@ -6,10 +6,10 @@
#include "chrome/browser/ui/android/tab_model/tab_model_list.h"
namespace browser {
namespace chrome {
bool IsOffTheRecordSessionActive() {
return TabModelList::IsOffTheRecordSessionActive();
}
}
} // namespace chrome
......@@ -628,7 +628,7 @@ bool Widget::IsAccessibleWidget() const {
return native_widget_->IsAccessibleWidget();
}
ThemeProvider* Widget::GetThemeProvider() const {
ui::ThemeProvider* Widget::GetThemeProvider() const {
const Widget* root_widget = GetTopLevelWidget();
if (root_widget && root_widget != this) {
// Attempt to get the theme provider, and fall back to the default theme
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment