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

Side by Side Diff: chrome/browser/extensions/extensions_ui.cc

Issue 6756001: Removing 'off the record' references. Contributed by vipul.bhasin@gmail.com (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Removing off the record references from the code Created 9 years, 8 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/extensions/extensions_ui.h" 5 #include "chrome/browser/extensions/extensions_ui.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/base64.h" 9 #include "base/base64.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 // 83 //
84 // ExtensionsHTMLSource 84 // ExtensionsHTMLSource
85 // 85 //
86 //////////////////////////////////////////////////////////////////////////////// 86 ////////////////////////////////////////////////////////////////////////////////
87 87
88 ExtensionsUIHTMLSource::ExtensionsUIHTMLSource() 88 ExtensionsUIHTMLSource::ExtensionsUIHTMLSource()
89 : DataSource(chrome::kChromeUIExtensionsHost, MessageLoop::current()) { 89 : DataSource(chrome::kChromeUIExtensionsHost, MessageLoop::current()) {
90 } 90 }
91 91
92 void ExtensionsUIHTMLSource::StartDataRequest(const std::string& path, 92 void ExtensionsUIHTMLSource::StartDataRequest(const std::string& path,
93 bool is_off_the_record, int request_id) { 93 bool is_incognito, int request_id) {
94 DictionaryValue localized_strings; 94 DictionaryValue localized_strings;
95 localized_strings.SetString("title", 95 localized_strings.SetString("title",
96 l10n_util::GetStringUTF16(IDS_EXTENSIONS_TITLE)); 96 l10n_util::GetStringUTF16(IDS_EXTENSIONS_TITLE));
97 localized_strings.SetString("devModeLink", 97 localized_strings.SetString("devModeLink",
98 l10n_util::GetStringUTF16(IDS_EXTENSIONS_DEVELOPER_MODE_LINK)); 98 l10n_util::GetStringUTF16(IDS_EXTENSIONS_DEVELOPER_MODE_LINK));
99 localized_strings.SetString("devModePrefix", 99 localized_strings.SetString("devModePrefix",
100 l10n_util::GetStringUTF16(IDS_EXTENSIONS_DEVELOPER_MODE_PREFIX)); 100 l10n_util::GetStringUTF16(IDS_EXTENSIONS_DEVELOPER_MODE_PREFIX));
101 localized_strings.SetString("loadUnpackedButton", 101 localized_strings.SetString("loadUnpackedButton",
102 l10n_util::GetStringUTF16(IDS_EXTENSIONS_LOAD_UNPACKED_BUTTON)); 102 l10n_util::GetStringUTF16(IDS_EXTENSIONS_LOAD_UNPACKED_BUTTON));
103 localized_strings.SetString("packButton", 103 localized_strings.SetString("packButton",
(...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after
879 // static 879 // static
880 RefCountedMemory* ExtensionsUI::GetFaviconResourceBytes() { 880 RefCountedMemory* ExtensionsUI::GetFaviconResourceBytes() {
881 return ResourceBundle::GetSharedInstance(). 881 return ResourceBundle::GetSharedInstance().
882 LoadDataResourceBytes(IDR_PLUGIN); 882 LoadDataResourceBytes(IDR_PLUGIN);
883 } 883 }
884 884
885 // static 885 // static
886 void ExtensionsUI::RegisterUserPrefs(PrefService* prefs) { 886 void ExtensionsUI::RegisterUserPrefs(PrefService* prefs) {
887 prefs->RegisterBooleanPref(prefs::kExtensionsUIDeveloperMode, false); 887 prefs->RegisterBooleanPref(prefs::kExtensionsUIDeveloperMode, false);
888 } 888 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extensions_ui.h ('k') | chrome/browser/safe_browsing/client_side_detection_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698