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

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

Issue 10837331: Options: s/options2/options/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: wut Created 8 years, 4 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) 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/media_galleries_handler.h" 5 #include "chrome/browser/ui/webui/options/media_galleries_handler.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "chrome/browser/media_gallery/media_galleries_preferences.h" 8 #include "chrome/browser/media_gallery/media_galleries_preferences.h"
9 #include "chrome/browser/media_gallery/media_galleries_preferences_factory.h" 9 #include "chrome/browser/media_gallery/media_galleries_preferences_factory.h"
10 #include "chrome/browser/prefs/pref_service.h" 10 #include "chrome/browser/prefs/pref_service.h"
11 #include "chrome/browser/profiles/profile.h" 11 #include "chrome/browser/profiles/profile.h"
12 #include "chrome/browser/ui/chrome_select_file_policy.h" 12 #include "chrome/browser/ui/chrome_select_file_policy.h"
13 #include "chrome/common/chrome_notification_types.h" 13 #include "chrome/common/chrome_notification_types.h"
14 #include "chrome/common/pref_names.h" 14 #include "chrome/common/pref_names.h"
15 #include "content/public/browser/notification_details.h" 15 #include "content/public/browser/notification_details.h"
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 if (type == chrome::NOTIFICATION_PREF_CHANGED && 114 if (type == chrome::NOTIFICATION_PREF_CHANGED &&
115 *content::Details<std::string>(details).ptr() == 115 *content::Details<std::string>(details).ptr() ==
116 prefs::kMediaGalleriesRememberedGalleries) { 116 prefs::kMediaGalleriesRememberedGalleries) {
117 OnGalleriesChanged(); 117 OnGalleriesChanged();
118 } else { 118 } else {
119 NOTREACHED(); 119 NOTREACHED();
120 } 120 }
121 } 121 }
122 122
123 } // namespace options 123 } // namespace options
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/media_galleries_handler.h ('k') | chrome/browser/ui/webui/options/options_browsertest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698