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

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

Issue 7384008: Revert 92668 - Remove more unnecessary ChromeURLRequestContext members. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 5 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
« no previous file with comments | « chrome/browser/ui/webui/devtools_ui.cc ('k') | chrome/test/testing_profile.cc » ('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 (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/ui/webui/options/cookies_view_handler.h" 5 #include "chrome/browser/ui/webui/options/cookies_view_handler.h"
6 6
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "chrome/browser/browsing_data_appcache_helper.h" 9 #include "chrome/browser/browsing_data_appcache_helper.h"
10 #include "chrome/browser/browsing_data_database_helper.h" 10 #include "chrome/browser/browsing_data_database_helper.h"
11 #include "chrome/browser/browsing_data_file_system_helper.h" 11 #include "chrome/browser/browsing_data_file_system_helper.h"
12 #include "chrome/browser/browsing_data_indexed_db_helper.h" 12 #include "chrome/browser/browsing_data_indexed_db_helper.h"
13 #include "chrome/browser/browsing_data_local_storage_helper.h" 13 #include "chrome/browser/browsing_data_local_storage_helper.h"
14 #include "chrome/browser/profiles/profile.h" 14 #include "chrome/browser/profiles/profile.h"
15 #include "chrome/browser/ui/webui/cookies_tree_model_util.h" 15 #include "chrome/browser/ui/webui/cookies_tree_model_util.h"
16 #include "grit/generated_resources.h" 16 #include "grit/generated_resources.h"
17 #include "net/url_request/url_request_context_getter.h"
18 #include "ui/base/l10n/l10n_util.h" 17 #include "ui/base/l10n/l10n_util.h"
19 18
20 CookiesViewHandler::CookiesViewHandler() : batch_update_(false) { 19 CookiesViewHandler::CookiesViewHandler() : batch_update_(false) {
21 } 20 }
22 21
23 CookiesViewHandler::~CookiesViewHandler() { 22 CookiesViewHandler::~CookiesViewHandler() {
24 } 23 }
25 24
26 void CookiesViewHandler::GetLocalizedValues( 25 void CookiesViewHandler::GetLocalizedValues(
27 DictionaryValue* localized_strings) { 26 DictionaryValue* localized_strings) {
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 children); 205 children);
207 206
208 ListValue args; 207 ListValue args;
209 args.Append(parent == cookies_tree_model_->GetRoot() ? 208 args.Append(parent == cookies_tree_model_->GetRoot() ?
210 Value::CreateNullValue() : 209 Value::CreateNullValue() :
211 Value::CreateStringValue(cookies_tree_model_util::GetTreeNodeId(parent))); 210 Value::CreateStringValue(cookies_tree_model_util::GetTreeNodeId(parent)));
212 args.Append(children); 211 args.Append(children);
213 212
214 web_ui_->CallJavascriptFunction("CookiesView.loadChildren", args); 213 web_ui_->CallJavascriptFunction("CookiesView.loadChildren", args);
215 } 214 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/devtools_ui.cc ('k') | chrome/test/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698