OLD | NEW |
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/options2/cookies_view_handler.h" | 5 #include "chrome/browser/ui/webui/options/cookies_view_handler.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
11 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
12 #include "base/values.h" | 12 #include "base/values.h" |
13 #include "chrome/common/extensions/extension.h" | 13 #include "chrome/common/extensions/extension.h" |
14 #include "chrome/common/extensions/extension_set.h" | 14 #include "chrome/common/extensions/extension_set.h" |
15 #include "chrome/browser/browsing_data/browsing_data_appcache_helper.h" | 15 #include "chrome/browser/browsing_data/browsing_data_appcache_helper.h" |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 std::string CookiesViewHandler::GetCallback( | 315 std::string CookiesViewHandler::GetCallback( |
316 std::string method, CookiesTreeModel* model) { | 316 std::string method, CookiesTreeModel* model) { |
317 std::string callback("CookiesView"); | 317 std::string callback("CookiesView"); |
318 | 318 |
319 if (model == app_cookies_tree_model_) | 319 if (model == app_cookies_tree_model_) |
320 callback.append("App"); | 320 callback.append("App"); |
321 return callback.append(".").append(method); | 321 return callback.append(".").append(method); |
322 } | 322 } |
323 | 323 |
324 } // namespace options | 324 } // namespace options |
OLD | NEW |