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

Side by Side Diff: chrome/browser/cocoa/custom_home_pages_model.mm

Issue 3203008: Move prefs-related files under chrome/browser/ into a prefs/ subdir. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #import "chrome/browser/cocoa/custom_home_pages_model.h" 5 #import "chrome/browser/cocoa/custom_home_pages_model.h"
6 6
7 #include "base/sys_string_conversions.h" 7 #include "base/sys_string_conversions.h"
8 #include "chrome/browser/net/url_fixer_upper.h" 8 #include "chrome/browser/net/url_fixer_upper.h"
9 #include "chrome/browser/session_startup_pref.h" 9 #include "chrome/browser/prefs/session_startup_pref.h"
10 10
11 NSString* const kHomepageEntryChangedNotification = 11 NSString* const kHomepageEntryChangedNotification =
12 @"kHomepageEntryChangedNotification"; 12 @"kHomepageEntryChangedNotification";
13 13
14 @interface CustomHomePagesModel (Private) 14 @interface CustomHomePagesModel (Private)
15 - (void)setURLsInternal:(const std::vector<GURL>&)urls; 15 - (void)setURLsInternal:(const std::vector<GURL>&)urls;
16 @end 16 @end
17 17
18 @implementation CustomHomePagesModel 18 @implementation CustomHomePagesModel
19 19
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 131
132 - (NSImage*)image { 132 - (NSImage*)image {
133 return icon_.get(); 133 return icon_.get();
134 } 134 }
135 135
136 - (NSString*)description { 136 - (NSString*)description {
137 return url_.get(); 137 return url_.get();
138 } 138 }
139 139
140 @end 140 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698