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

Side by Side Diff: chrome/browser/views/edit_keyword_controller.cc

Issue 18305: Move url_* to net subdir (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 11 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/views/edit_keyword_controller.h" 5 #include "chrome/browser/views/edit_keyword_controller.h"
6 6
7 #include "base/string_util.h" 7 #include "base/string_util.h"
8 #include "chrome/app/theme/theme_resources.h" 8 #include "chrome/app/theme/theme_resources.h"
9 #include "chrome/browser/metrics/user_metrics.h" 9 #include "chrome/browser/metrics/user_metrics.h"
10 #include "chrome/browser/net/url_fixer_upper.h"
10 #include "chrome/browser/profile.h" 11 #include "chrome/browser/profile.h"
11 #include "chrome/browser/search_engines/template_url.h" 12 #include "chrome/browser/search_engines/template_url.h"
12 #include "chrome/browser/search_engines/template_url_model.h" 13 #include "chrome/browser/search_engines/template_url_model.h"
13 #include "chrome/browser/url_fixer_upper.h"
14 #include "chrome/browser/views/keyword_editor_view.h" 14 #include "chrome/browser/views/keyword_editor_view.h"
15 #include "chrome/browser/views/standard_layout.h" 15 #include "chrome/browser/views/standard_layout.h"
16 #include "chrome/common/l10n_util.h" 16 #include "chrome/common/l10n_util.h"
17 #include "chrome/common/resource_bundle.h" 17 #include "chrome/common/resource_bundle.h"
18 #include "chrome/views/label.h" 18 #include "chrome/views/label.h"
19 #include "chrome/views/grid_layout.h" 19 #include "chrome/views/grid_layout.h"
20 #include "chrome/views/image_view.h" 20 #include "chrome/views/image_view.h"
21 #include "chrome/views/table_view.h" 21 #include "chrome/views/table_view.h"
22 #include "chrome/views/window.h" 22 #include "chrome/views/window.h"
23 #include "googleurl/src/gurl.h" 23 #include "googleurl/src/gurl.h"
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 361
362 void EditKeywordController::CleanUpCancelledAdd() { 362 void EditKeywordController::CleanUpCancelledAdd() {
363 if (!keyword_editor_view_ && template_url_) { 363 if (!keyword_editor_view_ && template_url_) {
364 // When we have no KeywordEditorView, we know that the template_url_ 364 // When we have no KeywordEditorView, we know that the template_url_
365 // hasn't yet been added to the model, so we need to clean it up. 365 // hasn't yet been added to the model, so we need to clean it up.
366 delete template_url_; 366 delete template_url_;
367 template_url_ = NULL; 367 template_url_ = NULL;
368 } 368 }
369 } 369 }
370 370
OLDNEW
« no previous file with comments | « chrome/browser/views/bug_report_view.cc ('k') | chrome/browser/views/options/general_page_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698