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

Side by Side Diff: chrome/browser/dom_ui/options/about_page_handler.cc

Issue 5875005: Cleanup: Remove unneeded includes of notification_service.h.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: put includes in right order Created 10 years 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/about_page_handler.h" 5 #include "chrome/browser/dom_ui/options/about_page_handler.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "app/l10n_util.h" 9 #include "app/l10n_util.h"
10 #include "app/resource_bundle.h" 10 #include "app/resource_bundle.h"
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/command_line.h" 13 #include "base/command_line.h"
14 #include "base/i18n/time_formatting.h" 14 #include "base/i18n/time_formatting.h"
15 #include "base/string16.h" 15 #include "base/string16.h"
16 #include "base/string_number_conversions.h" 16 #include "base/string_number_conversions.h"
17 #include "base/time.h" 17 #include "base/time.h"
18 #include "base/utf_string_conversions.h" 18 #include "base/utf_string_conversions.h"
19 #include "base/values.h" 19 #include "base/values.h"
20 #include "chrome/browser/platform_util.h" 20 #include "chrome/browser/platform_util.h"
21 #include "chrome/common/chrome_version_info.h" 21 #include "chrome/common/chrome_version_info.h"
22 #include "chrome/common/notification_service.h"
23 #include "chrome/common/url_constants.h" 22 #include "chrome/common/url_constants.h"
24 #include "googleurl/src/gurl.h" 23 #include "googleurl/src/gurl.h"
25 #include "grit/browser_resources.h" 24 #include "grit/browser_resources.h"
26 #include "grit/chromium_strings.h" 25 #include "grit/chromium_strings.h"
27 #include "grit/generated_resources.h" 26 #include "grit/generated_resources.h"
28 #include "grit/locale_settings.h" 27 #include "grit/locale_settings.h"
29 #include "grit/theme_resources.h" 28 #include "grit/theme_resources.h"
30 #include "webkit/glue/webkit_glue.h" 29 #include "webkit/glue/webkit_glue.h"
31 30
32 #if defined(CHROME_V8) 31 #if defined(CHROME_V8)
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 392
394 void AboutPageHandler::OnOSVersion(chromeos::VersionLoader::Handle handle, 393 void AboutPageHandler::OnOSVersion(chromeos::VersionLoader::Handle handle,
395 std::string version) { 394 std::string version) {
396 if (version.size()) { 395 if (version.size()) {
397 scoped_ptr<Value> version_string(Value::CreateStringValue(version)); 396 scoped_ptr<Value> version_string(Value::CreateStringValue(version));
398 dom_ui_->CallJavascriptFunction(L"AboutPage.updateOSVersionCallback", 397 dom_ui_->CallJavascriptFunction(L"AboutPage.updateOSVersionCallback",
399 *version_string); 398 *version_string);
400 } 399 }
401 } 400 }
402 #endif 401 #endif
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/history_ui.cc ('k') | chrome/browser/dom_ui/options/advanced_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698