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

Side by Side Diff: chrome/browser/ui/webui/settings/md_settings_ui.cc

Issue 1015533019: Add settings:: namespace to MdSettingsUi. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Builds successfully. Created 5 years, 9 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/ui/webui/settings/md_settings_ui.h ('k') | chrome/chrome_browser_ui.gypi » ('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/ui/webui/md_settings_ui.h" 5 #include "chrome/browser/ui/webui/settings/md_settings_ui.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/ui/webui/options/core_options_handler.h" 11 #include "chrome/browser/ui/webui/options/core_options_handler.h"
12 #include "chrome/common/url_constants.h" 12 #include "chrome/common/url_constants.h"
13 #include "chrome/grit/generated_resources.h" 13 #include "chrome/grit/generated_resources.h"
14 #include "content/public/browser/web_contents.h" 14 #include "content/public/browser/web_contents.h"
15 #include "content/public/browser/web_ui.h" 15 #include "content/public/browser/web_ui.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 MdSettingsUI::~MdSettingsUI() { 55 MdSettingsUI::~MdSettingsUI() {
56 } 56 }
57 57
58 void MdSettingsUI::InitializeHandlers() { 58 void MdSettingsUI::InitializeHandlers() {
59 Profile* profile = Profile::FromWebUI(web_ui()); 59 Profile* profile = Profile::FromWebUI(web_ui());
60 DCHECK(!profile->IsOffTheRecord() || profile->IsGuestSession()); 60 DCHECK(!profile->IsOffTheRecord() || profile->IsGuestSession());
61 61
62 core_handler_->InitializeHandler(); 62 core_handler_->InitializeHandler();
63 core_handler_->InitializePage(); 63 core_handler_->InitializePage();
64 } 64 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/settings/md_settings_ui.h ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698