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

Side by Side Diff: chrome/browser/dom_ui/options_ui.cc

Issue 2819063: Cleanup: Remove unneeded headers from app/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: forward declare Created 10 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/dom_ui/options_ui.h" 5 #include "chrome/browser/dom_ui/options_ui.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "app/l10n_util.h"
10 #include "app/resource_bundle.h" 9 #include "app/resource_bundle.h"
11 #include "base/callback.h" 10 #include "base/callback.h"
12 #include "base/i18n/time_formatting.h" 11 #include "base/i18n/time_formatting.h"
13 #include "base/message_loop.h" 12 #include "base/message_loop.h"
14 #include "base/singleton.h" 13 #include "base/singleton.h"
15 #include "base/string_piece.h" 14 #include "base/string_piece.h"
16 #include "base/string_util.h" 15 #include "base/string_util.h"
17 #include "base/thread.h" 16 #include "base/thread.h"
18 #include "base/time.h" 17 #include "base/time.h"
19 #include "base/values.h" 18 #include "base/values.h"
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 (static_cast<OptionsPageUIHandler*>(*iter))->Initialize(); 186 (static_cast<OptionsPageUIHandler*>(*iter))->Initialize();
188 } 187 }
189 } 188 }
190 189
191 void OptionsUI::AddOptionsPageUIHandler(DictionaryValue* localized_strings, 190 void OptionsUI::AddOptionsPageUIHandler(DictionaryValue* localized_strings,
192 OptionsPageUIHandler* handler) { 191 OptionsPageUIHandler* handler) {
193 DCHECK(handler); 192 DCHECK(handler);
194 handler->GetLocalizedValues(localized_strings); 193 handler->GetLocalizedValues(localized_strings);
195 AddMessageHandler(handler->Attach(this)); 194 AddMessageHandler(handler->Attach(this));
196 } 195 }
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/mediaplayer_ui.cc ('k') | chrome/browser/dom_ui/personal_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698