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

Side by Side Diff: chrome/browser/ui/webui/options/clear_browser_data_handler.cc

Issue 498773003: Use a qualified path for chromium_strings, google_chrome_strings, and generated_resources. (part 2 … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 3 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/options/clear_browser_data_handler.h" 5 #include "chrome/browser/ui/webui/options/clear_browser_data_handler.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/bind_helpers.h" 9 #include "base/bind_helpers.h"
10 #include "base/prefs/pref_service.h" 10 #include "base/prefs/pref_service.h"
11 #include "base/strings/string16.h" 11 #include "base/strings/string16.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "chrome/browser/browser_process.h" 13 #include "chrome/browser/browser_process.h"
14 #include "chrome/browser/browsing_data/browsing_data_helper.h" 14 #include "chrome/browser/browsing_data/browsing_data_helper.h"
15 #include "chrome/browser/browsing_data/browsing_data_remover.h" 15 #include "chrome/browser/browsing_data/browsing_data_remover.h"
16 #include "chrome/browser/profiles/profile.h" 16 #include "chrome/browser/profiles/profile.h"
17 #include "chrome/common/pref_names.h" 17 #include "chrome/common/pref_names.h"
18 #include "chrome/grit/generated_resources.h"
18 #include "components/google/core/browser/google_util.h" 19 #include "components/google/core/browser/google_util.h"
19 #include "content/public/browser/notification_details.h" 20 #include "content/public/browser/notification_details.h"
20 #include "content/public/browser/web_ui.h" 21 #include "content/public/browser/web_ui.h"
21 #include "grit/generated_resources.h"
22 #include "grit/locale_settings.h" 22 #include "grit/locale_settings.h"
23 #include "ui/base/accelerators/accelerator.h" 23 #include "ui/base/accelerators/accelerator.h"
24 #include "ui/base/l10n/l10n_util.h" 24 #include "ui/base/l10n/l10n_util.h"
25 25
26 namespace { 26 namespace {
27 const char kClearBrowsingDataLearnMoreUrl[] = 27 const char kClearBrowsingDataLearnMoreUrl[] =
28 "https://support.google.com/chrome/?p=settings_clear_browsing_data"; 28 "https://support.google.com/chrome/?p=settings_clear_browsing_data";
29 } 29 }
30 30
31 namespace options { 31 namespace options {
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 web_ui()->CallJavascriptFunction("ClearBrowserDataOverlay.doneClearing"); 213 web_ui()->CallJavascriptFunction("ClearBrowserDataOverlay.doneClearing");
214 } 214 }
215 215
216 void ClearBrowserDataHandler::OnBrowsingHistoryPrefChanged() { 216 void ClearBrowserDataHandler::OnBrowsingHistoryPrefChanged() {
217 web_ui()->CallJavascriptFunction( 217 web_ui()->CallJavascriptFunction(
218 "ClearBrowserDataOverlay.setAllowDeletingHistory", 218 "ClearBrowserDataOverlay.setAllowDeletingHistory",
219 base::FundamentalValue(*allow_deleting_browser_history_)); 219 base::FundamentalValue(*allow_deleting_browser_history_));
220 } 220 }
221 221
222 } // namespace options 222 } // namespace options
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/chromeos/proxy_handler.cc ('k') | chrome/browser/ui/webui/options/content_settings_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698